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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 0nuFWV  
0&-sz=L  
struts.action.extension #,;k>2j0  
      The URL extension to use to determine if the request is meant for a Struts action ouI0"R&@  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]_,~q@r$  
*]=)mM#  
struts.configuration m ;vNA  
      The org.apache.struts2.config.Configuration implementation class 5f5`7uVJF  
        org.apache.struts2.config.Configuration接口名 <.2Z{;z  
RinRQd  
struts.configuration.files btE+.V  
      A list of configuration files automatically loaded by Struts / u{r5`4  
      struts自动加载的一个配置文件列表 M>#{~zr  
>j?uI6Uw  
struts.configuration.xml.reload M@3H]t?  
      Whether to reload the XML configuration or not zYNJF>^<  
      是否加载xml配置(true,false) U|QDV16f  
]9:G3vq  
struts.continuations.package '37b[~k4  
      The package containing actions that use Rife continuations :[&X*bw[  
      含有actions的完整连续的package名称 "8I4]'  
T_dd7Ym'8  
struts.custom.i18n.resources 8K/lpqw  
      Location of additional localization properties files to load D. e*IP1R  
      加载附加的国际化属性文件(不包含.properties后缀) {m?x},  
90!Ib~7zH  
struts.custom.properties Z-?9F`}  
      Location of additional configuration properties files to load a*8}~p,  
      加载附加的配置文件的位置 ;F Bc^*q  
H#y"3E<s  
~83P09\T%  
struts.devMode d w|0K+-PH  
      Whether Struts is in development mode or not ,L;vN6~  
      是否为struts开发模式 [C6?:'}FA  
ZJ(!jc$"*%  
struts.dispatcher.parametersWorkaround u| c+w)a  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic QFYy$T+W  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _u>>+6,p  
wW4S@m  
struts.enable.DynamicMethodInvocation d8#j@='a*  
      Allows one to disable dynamic method invocation from the URL 2cg z n@  
        允许动态方法调用 hz%IxI9  
8E+l; 2  
struts.freemarker.manager.classname w$4Lu"N :  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Ev16xL8B  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /(aX>_7jg  
[4 j;FN Fa  
struts.i18n.encoding >``GDjcJ  
      The encoding to use for localization messages val<N293L>  
      国际化信息内码 \tx/!tA  
mtHz6+  
struts.i18n.reload .)w0C%]  
      Whether the localization messages should automatically be reloaded K7c8_g*>4=  
      是否国际化信息自动加载 -huZnDN  
}i:'f 2/  
struts.locale N sL"p2w~  
      The default locale for the Struts application Rjl__90  
      默认的国际化地区信息 C 5 UDez  
-; $/<  
struts.mapper.class ~*Qpv&y)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bobkT|s^s  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^E17_9?  
Y +54z/{  
struts.multipart.maxSize Yur)_m  
      The maximize size of a multipart request (file upload) zP}v2  
      multipart请求信息的最大尺寸(文件上传用) iGLYM-  
+hgCk87%#  
struts.multipart.parser +=Wdn)T  
      The org.apache.struts2.dispatcher.multipart. ZiYzsn  
      MultiPartRequest parser implementation for a multipart request (file upload) J94YMyOo  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) T9-a uK0d  
0f/!|c  
v^fOT5\  
struts.multipart.saveDir M) XQi/  
      The directory to use for storing uploaded files @!3^/D3  
      设置存储上传文件的目录夹 g}QTZT8  
,D,f9  
struts.objectFactory $4JX#lkt  
      The com.opensymphony.xwork2.ObjectFactory implementation class e~]e9-L>I  
      com.opensymphony.xwork2.ObjectFactory接口(spring) '<S:|$ $  
%5?-g[  
struts.objectFactory.spring.autoWire ^!_7L4&y  
      Whether Spring should autoWire or not eh4"_t  
      是否自动绑定Spring ky$:C,1t  
b2%bgs  
struts.objectFactory.spring.useClassCache Ia:puks=  
      Whether Spring should use its class cache or not eAKQR  
      是否spring应该使用自身的cache 14!a)Ijl  
{0WID D  
struts.objectTypeDeterminer =2]rA  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -01 1U!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6-14Htsk6  
9~%]|_(  
struts.serve.static.browserCache 6@;L$QYY-V  
If static content served by the Struts filter should set browser caching header properties or not wf< `J/7u  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 edk9Qd9  
?mfWm{QTt  
struts.serve.static %aE7id>v6  
      Whether the Struts filter should serve static content or not bTy)0ta>AF  
      是否struts过滤器应该提供静态内容 X8n/XG~_  
Yk@s"qm3  
struts.tag.altSyntax (g2r\hI  
      Whether to use the alterative syntax for the tags or not @j2*.ee  
      是否可以用替代的语法替代tags bW.zxQ :  
~K$"PK s3  
struts.ui.templateDir 7a]Zws  
      The directory containing UI templates 5J\|gZQF  
      UI templates的目录夹 :Z]hI+7  
FoD/Q  
struts.ui.theme wt=>{JM  
      The default UI template theme 4[CBW  
      默认的UI template主题 DEp%\sj?  
mImbS)V  
struts.url.http.port +6M+hO]  
      The HTTP port used by Struts URLs #JR,C -w  
      设置http端口 /xm#:+Sc  
X)iWb(@k"7  
struts.url.https.port -,fa{yt-  
      The HTTPS port used by Struts URLs FDd>(!>  
      设置https端口 s!;VUr\  
{F6dSF`  
struts.url.includeParams nL(%&z \4  
      The default includeParams method to generate Struts URLs 6n6VEwYj  
      在url中产生 默认的includeParams ~UJu @M  
90h1e7ZcC  
& kjwIg{  
struts.velocity.configfile Rp`_Grcd  
      The Velocity configuration file path HMS9y%zl/  
      velocity配置文件路径 4>"cc@8&~  
"X{aS}  
struts.velocity.contexts ,+f0cv4  
      List of Velocity context names tC@zM.v%  
      velocity的context列表 ADv"_bB:h  
Neo^C_[vN  
VmOFX:j!,  
struts.velocity.manager.classname nc\C 4g  
      org.apache.struts2.views.velocity.VelocityManager implementation class !G"9xrr1  
      org.apache.struts2.views.velocity.VelocityManager接口名 'Elj"Iiu  
$uFh$f  
struts.velocity.toolboxlocation Oa\`;  
      The location of the Velocity toolbox e:GgA  
      velocity工具盒的位置 mj(&`HRs4  
struts.xslt.nocache T$8@2[  
      Whether or not XSLT templates should not be cached -wf RR>)d  
      是否XSLT模版应该被缓存 g<rKV+$6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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