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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?fU{?nI}>p  
muK)Y w[#N  
struts.action.extension >SZuN"r8`  
      The URL extension to use to determine if the request is meant for a Struts action AnsJ3C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6(Cjak+~!  
f b8xs<  
struts.configuration K/(Z\lL  
      The org.apache.struts2.config.Configuration implementation class kad$Fp39  
        org.apache.struts2.config.Configuration接口名 " H=fWz5z  
VF-[O  
struts.configuration.files ojWf]$^y}  
      A list of configuration files automatically loaded by Struts ^*NOG\BK@  
      struts自动加载的一个配置文件列表 A?ESjMy(R  
^SUo-N''  
struts.configuration.xml.reload <p_2&& ?  
      Whether to reload the XML configuration or not |<YF.7r;  
      是否加载xml配置(true,false) Q>=/u-  
48GaZ@v  
struts.continuations.package U$ZbBVa`~  
      The package containing actions that use Rife continuations @bFl8-  
      含有actions的完整连续的package名称 F>u/Lh!  
'~6l 6wi  
struts.custom.i18n.resources SZgan  
      Location of additional localization properties files to load ^3&-!<*  
      加载附加的国际化属性文件(不包含.properties后缀) 0"@p|nAa  
' #r^W2  
struts.custom.properties a- /p/ I-%  
      Location of additional configuration properties files to load n  8|  
      加载附加的配置文件的位置 %eu_Pr6X  
H~<wAer,Op  
e $5s],,n  
struts.devMode '(:R-u!pp  
      Whether Struts is in development mode or not j;rxr1+w  
      是否为struts开发模式 l~`JFWur]  
\ ]h$8JwV  
struts.dispatcher.parametersWorkaround /3`fO^39Ta  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic # WL5p.  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) xiQd[[(sM  
Zvz}Z8jW  
struts.enable.DynamicMethodInvocation JZNvuPD   
      Allows one to disable dynamic method invocation from the URL =?B[oq  
        允许动态方法调用 vinn|_s%  
L!W5H2Mc  
struts.freemarker.manager.classname 'Ya-;5Y]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class KU0;}GSNX}  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 PurY_  
cmLI!"RLe  
struts.i18n.encoding apm,$Vvjy  
      The encoding to use for localization messages 6;\Tps;A  
      国际化信息内码 hcD.-(-;)  
iEBxBsz_  
struts.i18n.reload +Kg3qS"  
      Whether the localization messages should automatically be reloaded e]d\S] 5  
      是否国际化信息自动加载 Q mz3GH@wg  
-F-,Gcos  
struts.locale k:E+]5  
      The default locale for the Struts application Bk4|ik}  
      默认的国际化地区信息 |fWR[\NU  
^#j{9FpPs  
struts.mapper.class ViG-tb   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =$%_asQJ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \o!B:Vb<  
cp 7;~i3  
struts.multipart.maxSize EG!):P  
      The maximize size of a multipart request (file upload) v.]W{~PI2V  
      multipart请求信息的最大尺寸(文件上传用) htqC~B{1E  
.`N&,&H  
struts.multipart.parser I* JSb9r  
      The org.apache.struts2.dispatcher.multipart. yi1V\8DC  
      MultiPartRequest parser implementation for a multipart request (file upload) ML_[Z_Q<z  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7vsXfIP+  
'#Y[(5  
Ds%~J  
struts.multipart.saveDir Q%RI;;YyA  
      The directory to use for storing uploaded files \M-$|04Qt  
      设置存储上传文件的目录夹 LfS]m>>e  
)pt#Pu  
struts.objectFactory N Y~y:*:Q  
      The com.opensymphony.xwork2.ObjectFactory implementation class ehYGw2  
      com.opensymphony.xwork2.ObjectFactory接口(spring) []eZO_o6j  
bMF`KRP2  
struts.objectFactory.spring.autoWire 9RN! <`H  
      Whether Spring should autoWire or not 2Y{r2m|o  
      是否自动绑定Spring _M}}H3  
|/p2DU2  
struts.objectFactory.spring.useClassCache /H[!v:U  
      Whether Spring should use its class cache or not $P~Tt4068  
      是否spring应该使用自身的cache 3MFb\s&Fq  
S QVyCxcX_  
struts.objectTypeDeterminer  'x\{sv  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -qndBS  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  w4p<q68  
FZhjI 8+,~  
struts.serve.static.browserCache !_UBw7Zm  
If static content served by the Struts filter should set browser caching header properties or not P&]PJt5  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 I!-5 #bxD  
BnLE +X  
struts.serve.static _LSf )  
      Whether the Struts filter should serve static content or not 9 l9|w4YJs  
      是否struts过滤器应该提供静态内容 z}m)u  
Ni 5Su  
struts.tag.altSyntax L%O( I  
      Whether to use the alterative syntax for the tags or not j*)K> \  
      是否可以用替代的语法替代tags zd3%9rj$  
{VrjDj+Xy  
struts.ui.templateDir <swY o<?J#  
      The directory containing UI templates [ 6t!}q  
      UI templates的目录夹 |#!P!p}  
wNm~H  
struts.ui.theme T8rf+B/.L  
      The default UI template theme g{06d~Y  
      默认的UI template主题 cH%#qE3  
b:}+l;e5 2  
struts.url.http.port \a\ApD  
      The HTTP port used by Struts URLs JmK[7t  
      设置http端口 BPzlt  
-%x9^oQwY  
struts.url.https.port |CFTOe\ q  
      The HTTPS port used by Struts URLs  =:-x;  
      设置https端口 (*2kM|  
0<T/P+|  
struts.url.includeParams wsNM'~(  
      The default includeParams method to generate Struts URLs Mw+8p}E  
      在url中产生 默认的includeParams *6e 5T  
.)eX(2j\  
LAwAFma>  
struts.velocity.configfile %@d~)f  
      The Velocity configuration file path Pa !r*(M)C  
      velocity配置文件路径 K+_$ WT_  
O.8{c;  
struts.velocity.contexts #e8NF,H5  
      List of Velocity context names KzC`*U[  
      velocity的context列表 ;ywQk| r  
7o]p0iLej  
 /P/S0  
struts.velocity.manager.classname Ug^v ]B9  
      org.apache.struts2.views.velocity.VelocityManager implementation class aGz <Yip  
      org.apache.struts2.views.velocity.VelocityManager接口名 UE9r1g`z  
wN ![SM/+  
struts.velocity.toolboxlocation bJE$>  
      The location of the Velocity toolbox M6b; DQ  
      velocity工具盒的位置 isP4*g&%x  
struts.xslt.nocache {~ngI<  
      Whether or not XSLT templates should not be cached A;A>Q`JJF  
      是否XSLT模版应该被缓存 to  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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