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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 unih"};ou  
Q5b9q$L$  
struts.action.extension _=cU2  
      The URL extension to use to determine if the request is meant for a Struts action jV[;e15+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8iTB  
xnf J ruT  
struts.configuration uBl&{$<  
      The org.apache.struts2.config.Configuration implementation class l,*5*1lM  
        org.apache.struts2.config.Configuration接口名 Wu"1M^a  
g4u 6#.m(  
struts.configuration.files pMJm@f  
      A list of configuration files automatically loaded by Struts |BUgsE  
      struts自动加载的一个配置文件列表 @,j,GE%  
+n<W#O %  
struts.configuration.xml.reload "x vizvR  
      Whether to reload the XML configuration or not U:z5`z!  
      是否加载xml配置(true,false) ]q~bi<E9W  
n@L@pgo%~  
struts.continuations.package U\u07^h[  
      The package containing actions that use Rife continuations ez5J+  
      含有actions的完整连续的package名称 W4,'?o  
('{aOiSH  
struts.custom.i18n.resources _, E/HAX  
      Location of additional localization properties files to load Cs(sar:7  
      加载附加的国际化属性文件(不包含.properties后缀) >(-A"jf  
?;y-skh  
struts.custom.properties \1SC:gN*#  
      Location of additional configuration properties files to load i),bAU!+m  
      加载附加的配置文件的位置 'J$@~P  
4l7 Ny\J  
zn>+ \  
struts.devMode wBvVY3VQ^  
      Whether Struts is in development mode or not =P%&]5ts  
      是否为struts开发模式  Q6RTH  
; NH^+h  
struts.dispatcher.parametersWorkaround $}Ab R:z  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ia< V\$#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )t KS ooW  
R+U$;r8l  
struts.enable.DynamicMethodInvocation hbg$u$1`,  
      Allows one to disable dynamic method invocation from the URL /wax5FS'I,  
        允许动态方法调用 KZTLIZxI-  
OLqV#i[K#9  
struts.freemarker.manager.classname &=x4M]t9L  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;*$e8y2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Jt[,V*:#  
LRg]'?  
struts.i18n.encoding v3aPHf  
      The encoding to use for localization messages  DR{O.TX  
      国际化信息内码 3@qv[yOE  
op\$(7<d-  
struts.i18n.reload qY$ [2]  
      Whether the localization messages should automatically be reloaded NYr)=&)Ke.  
      是否国际化信息自动加载 d!UxFY@  
co~NXpqg  
struts.locale yQ$]`hr;  
      The default locale for the Struts application uorX;yekC  
      默认的国际化地区信息 %S"85#R5E  
tRpY+s~Fq  
struts.mapper.class k qL.ZR  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4g"%?xN  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 x(cv}#}S8  
i%JJ+9N  
struts.multipart.maxSize Ix6\5}.c9  
      The maximize size of a multipart request (file upload) cFt&Efj  
      multipart请求信息的最大尺寸(文件上传用) hPUAm6 b;  
^Fh*9[Zf$  
struts.multipart.parser FuBt`H  
      The org.apache.struts2.dispatcher.multipart. ;Y[D#Ja-  
      MultiPartRequest parser implementation for a multipart request (file upload) n| {#5#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) SDC'S]{ew  
N[e,%heR  
5 ty2e`~K  
struts.multipart.saveDir /IG{j}  
      The directory to use for storing uploaded files ROmmak(y8  
      设置存储上传文件的目录夹 -2; 6Pwmv  
6^WNwe\  
struts.objectFactory bY2R/FNL=  
      The com.opensymphony.xwork2.ObjectFactory implementation class 3i7EF.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) w;gk=<_  
tc0;Ake-&  
struts.objectFactory.spring.autoWire q~b# ml2QS  
      Whether Spring should autoWire or not ":8\2Qp  
      是否自动绑定Spring ]c~yMA+]FZ  
Uffwzd!  
struts.objectFactory.spring.useClassCache MzX&|wimb  
      Whether Spring should use its class cache or not =T,Q7Dh  
      是否spring应该使用自身的cache 9-/q-,  
aTTkj\4  
struts.objectTypeDeterminer RARA_tii  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 50QDqC-]XS  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,puoq {  
5, ,~k=  
struts.serve.static.browserCache |y[I!JdR  
If static content served by the Struts filter should set browser caching header properties or not V:Gy pY)  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 A4!X{qUT-  
6{buel(|e  
struts.serve.static Wu^Rv-xA  
      Whether the Struts filter should serve static content or not )gEE7Ex?  
      是否struts过滤器应该提供静态内容  C3{hf  
?a3 wBy  
struts.tag.altSyntax +7}^Y}(  
      Whether to use the alterative syntax for the tags or not Jgv Mx  
      是否可以用替代的语法替代tags )b #5rQ  
o 2 Nu@^+  
struts.ui.templateDir :31_WJ^  
      The directory containing UI templates ()IZ7#kL?  
      UI templates的目录夹 Ik$$Tn&;  
[j-?)  
struts.ui.theme n2bhCd]j<b  
      The default UI template theme iRnjN  
      默认的UI template主题 46}U +>  
AQUAQZc  
struts.url.http.port BV B2$&eJ  
      The HTTP port used by Struts URLs Q-'j131[  
      设置http端口 J)>DsQ+Cj  
SjB"#E)  
struts.url.https.port \jwG*a  
      The HTTPS port used by Struts URLs 1H-Y3G>jN  
      设置https端口 U L $!  
Q3 8+`EhLA  
struts.url.includeParams ng3ZK  
      The default includeParams method to generate Struts URLs /=S@3?cQAB  
      在url中产生 默认的includeParams ~^1y(-cw  
UHZ&7jfl  
5_aj]"x  
struts.velocity.configfile +PjTT6  
      The Velocity configuration file path x 4+WZYv3  
      velocity配置文件路径 iz#R)EB/g  
N!(mM;1X)  
struts.velocity.contexts o>r P\  
      List of Velocity context names &T,|?0>~=J  
      velocity的context列表 ZOEe-XW  
E+lR&~mK=  
&SE}5ddC7  
struts.velocity.manager.classname bgi_QB#k\  
      org.apache.struts2.views.velocity.VelocityManager implementation class (<eLj Q  
      org.apache.struts2.views.velocity.VelocityManager接口名 N l@G\_  
iAk:CJ{  
struts.velocity.toolboxlocation 9jTBLp-i#N  
      The location of the Velocity toolbox ->b5"{t  
      velocity工具盒的位置 wuH*a3(  
struts.xslt.nocache +Ww] %`_  
      Whether or not XSLT templates should not be cached MW 7~=T  
      是否XSLT模版应该被缓存 * @4@eQF  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八