社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 5824阅读
  • 0回复

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 {p@uj_pS  
Li\BRlebR{  
struts.action.extension ^7~w yAr  
      The URL extension to use to determine if the request is meant for a Struts action .:#6dG\0z  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 YJ^TO\4WM  
@Ao E>  
struts.configuration jj 9eFB  
      The org.apache.struts2.config.Configuration implementation class "t" &6\  
        org.apache.struts2.config.Configuration接口名 K1>(Fs$  
Vl+,OBy  
struts.configuration.files cZXra(AD  
      A list of configuration files automatically loaded by Struts !4G<&hvb  
      struts自动加载的一个配置文件列表 bwAL:  
`+0)dTA(g$  
struts.configuration.xml.reload yLlAK,5P0o  
      Whether to reload the XML configuration or not +,$"%C  
      是否加载xml配置(true,false) mg^\"GC*8  
#`H^8/!e  
struts.continuations.package v mXY}Ul  
      The package containing actions that use Rife continuations :j2_Jn4UP  
      含有actions的完整连续的package名称 kpN'H_ .  
.U !;fJ9  
struts.custom.i18n.resources 3 e9fziQ~  
      Location of additional localization properties files to load =F}e>D  
      加载附加的国际化属性文件(不包含.properties后缀) *oX~z>aE  
)WFSUZ~  
struts.custom.properties zdUi1 b  
      Location of additional configuration properties files to load W=~H_ L?/  
      加载附加的配置文件的位置 8W_X&X?Q  
|!{ BjOAD'  
bz? *#S  
struts.devMode d.&~n`Rv!p  
      Whether Struts is in development mode or not M^^u{);q  
      是否为struts开发模式 cIgicp}U  
$wn "+wX  
struts.dispatcher.parametersWorkaround 4q<:% 0M|  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic dj76YK  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6gfdXVN5  
qqYH}%0dz  
struts.enable.DynamicMethodInvocation BDg6Z I<n  
      Allows one to disable dynamic method invocation from the URL o*u A+7n  
        允许动态方法调用 ,uP1U@Cas  
AcF;5h  
struts.freemarker.manager.classname 1dK^[;v>3  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /vB%gqJvX  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $V8B =k~  
HiG&`:P>q  
struts.i18n.encoding T<0Bq"'%  
      The encoding to use for localization messages d0 tN73(  
      国际化信息内码 `'[ 7M  
3:Sv8csT  
struts.i18n.reload r(yb%p+  
      Whether the localization messages should automatically be reloaded 2aN  
      是否国际化信息自动加载 !2N#H~{  
+:d))r=n  
struts.locale Om0S^4y]x  
      The default locale for the Struts application {hM*h(W~3  
      默认的国际化地区信息 7c6-S@L  
}r /L 9  
struts.mapper.class T8FKa4ikn  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 'vTD7a^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 gGU3e(!Uc  
kc8T@5+I0  
struts.multipart.maxSize *R>I%?]V3  
      The maximize size of a multipart request (file upload) * #;rp~  
      multipart请求信息的最大尺寸(文件上传用) um&e.V)N  
"FaG5X(  
struts.multipart.parser RS/%uxS?  
      The org.apache.struts2.dispatcher.multipart. Nu{RF  
      MultiPartRequest parser implementation for a multipart request (file upload) |[ |X  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'F+O+-p+  
/7h%sCX  
|P2GL3NR  
struts.multipart.saveDir ^ :Q |,oy  
      The directory to use for storing uploaded files ' n~N*DH  
      设置存储上传文件的目录夹 h3xX26l  
4#=!VK8ZH  
struts.objectFactory Xb3vvHdI  
      The com.opensymphony.xwork2.ObjectFactory implementation class eeb 8v:4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) # dxlU/*  
g m],  
struts.objectFactory.spring.autoWire s:cS 9A8  
      Whether Spring should autoWire or not 0tB9X9:,  
      是否自动绑定Spring Zk}e?Grc  
?#D@e5Wf  
struts.objectFactory.spring.useClassCache Z#;ieI\  
      Whether Spring should use its class cache or not e= "/oo  
      是否spring应该使用自身的cache a+mq=K  
,lA J{5\#  
struts.objectTypeDeterminer N &p=4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ze Shn  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 VV] {R'  
4 '9h^C&  
struts.serve.static.browserCache i`8!Vm  
If static content served by the Struts filter should set browser caching header properties or not :eQx di'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 HA"dw2 |  
xYt{=  
struts.serve.static <WBGPzVZE  
      Whether the Struts filter should serve static content or not YQX>)'  
      是否struts过滤器应该提供静态内容 D?5W1m]E,s  
o(~JZi k  
struts.tag.altSyntax P!YT{}  
      Whether to use the alterative syntax for the tags or not ~`_nw5y  
      是否可以用替代的语法替代tags 0#*\o1r\p  
on&N=TN  
struts.ui.templateDir 2#W%--  
      The directory containing UI templates )vGRfFjw_  
      UI templates的目录夹 Qn%*kU0X  
5I(` s#O  
struts.ui.theme ) _2!1  
      The default UI template theme 'A8T.BU  
      默认的UI template主题 Cfz1\a&V{  
]\ r~"*TZ  
struts.url.http.port 9y]$c1  
      The HTTP port used by Struts URLs !8=uBS%  
      设置http端口 x|<|eRYK  
&|E2L1  
struts.url.https.port {/0,lic  
      The HTTPS port used by Struts URLs vW)GUAF[  
      设置https端口 p6}jCGJ  
*%)L?*  
struts.url.includeParams vlj|[joXw  
      The default includeParams method to generate Struts URLs 4?yc/F=kI  
      在url中产生 默认的includeParams ;-]f4O8  
^2^ptQj  
q9WSQ$:z8  
struts.velocity.configfile 5K6_#g4"  
      The Velocity configuration file path MB"?^~Sm  
      velocity配置文件路径 Va*Uwy?x/)  
s9[v_(W  
struts.velocity.contexts At bqj?  
      List of Velocity context names 4qm5`o\hb  
      velocity的context列表 eEc;w#  
5&9(d_#H  
Ca1)>1 Vz  
struts.velocity.manager.classname u5CT7_#)  
      org.apache.struts2.views.velocity.VelocityManager implementation class !&'xkw`  
      org.apache.struts2.views.velocity.VelocityManager接口名 &aF_y_f\  
] &G5/ ]f  
struts.velocity.toolboxlocation < m9O0  
      The location of the Velocity toolbox 1;:2=8  
      velocity工具盒的位置 -ZyFUGd%  
struts.xslt.nocache ([9h.M6v  
      Whether or not XSLT templates should not be cached .PAkW2\#  
      是否XSLT模版应该被缓存 uqO51V~  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五