Struts
文章平均质量分 80
iteye_14076
这个作者很懒,什么都没留下…
展开
-
Result Type classification
use commonly: 1: dispatcher 2: redirect 3: chain 4: redirectAction param 1: actionName param 2: namespace 5: plainText param 1: location param 2: charset原创 2010-05-09 08:24:31 · 59 阅读 · 0 评论 -
notes
Action1. 实现一个Action的最常用方式:从ActionSupport继承2. DMI动态方法调用 !3. 通配符配置 * {1} {2} …a) *_* 4. 接收参数的方法(一般用属性或者DomainModel来接收)5. 简单参数验证addFieldError...原创 2010-05-11 22:29:28 · 54 阅读 · 0 评论 -
i18n
to appoint resource base name directly huayu00原创 2010-05-10 23:31:17 · 57 阅读 · 0 评论 -
Action method validate
Validate by Manual Programming1: validate every action method (1):extend ActionSupport and rewrite the validate method (2): (3):2: validate specific action method (1):add validateX...原创 2010-05-09 23:52:52 · 56 阅读 · 0 评论 -
File upload
Single file upload:1: reference commmons-fileupload-1.2.1.jar2: 3: create action This action should contain three properties corresponding to the "[color=red]uploadFile[/co...原创 2010-05-09 22:18:30 · 75 阅读 · 0 评论 -
Access web context
mode 1 : ActionContext context = ActionContext.getContex();context.getApplication();context.getSession();context.get("request");mode 2 :ServletActionContext.getRequest();ServletActionCon...原创 2010-05-09 17:04:13 · 66 阅读 · 0 评论 -
Type convertor
actionName.conversion.properties propertyName = Custom convertorxwork.conversion.properties type = Custom convertor原创 2010-05-09 16:51:48 · 110 阅读 · 0 评论 -
Constants used commonly
struts.i18n.encoding : UTF-8struts.action.extension : action,dostruts.serve.static.browserCache : true -- cache the static contentstruts.configuration.xml.reload : falsestruts.devMode : false ...原创 2010-05-09 09:29:08 · 65 阅读 · 0 评论 -
Request suffix
Configuration: The order that struts load constant: struts-default.xml struts-plugin.xml struts.xml struts.properties web.xmlthe latter will cover the for...原创 2010-05-09 09:11:49 · 139 阅读 · 0 评论 -
Searching path of action
Progressively decreasing according to the namespace of the action given by url.原创 2010-05-09 08:37:47 · 56 阅读 · 0 评论 -
spring struts 整合
Spring Struts1.x 整合使用Spring的ActionSupport 类整合Structs1.X,使用 Spring 的 DelegatingRequestProcessor覆盖Struts的RequestProcessor,将StrutsAction管理委托给Spring框架 -- 装载应用环境: 无论您使用哪种技术,都需要使用 Spring 的 Conte...原创 2010-11-13 11:53:30 · 73 阅读 · 0 评论