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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Az.(tJ X"  
BsV2Q`(gT  
struts.action.extension E/mp.f2!  
      The URL extension to use to determine if the request is meant for a Struts action .LDK+c  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /t=R~BJu  
\ .+.VK  
struts.configuration xc[Lb aBG  
      The org.apache.struts2.config.Configuration implementation class p=m)lR9  
        org.apache.struts2.config.Configuration接口名 Z -3i -(  
h#Cq-^D#~  
struts.configuration.files DIR_W-z  
      A list of configuration files automatically loaded by Struts hGmJG,H  
      struts自动加载的一个配置文件列表 (q'w"qj  
KE3/sw0  
struts.configuration.xml.reload XQAdb"`  
      Whether to reload the XML configuration or not tZlz0BY!  
      是否加载xml配置(true,false) *RugVH4  
M)td%<_  
struts.continuations.package T|o[! @:,  
      The package containing actions that use Rife continuations +b_g,RNs!  
      含有actions的完整连续的package名称 7=yC*]BH-=  
@/i;/$\  
struts.custom.i18n.resources %N 8/g]`7  
      Location of additional localization properties files to load hA1\+r  
      加载附加的国际化属性文件(不包含.properties后缀) {2<A\nW  
>Q&E4jC  
struts.custom.properties \ .H X7v  
      Location of additional configuration properties files to load <}S1ZEZcQ  
      加载附加的配置文件的位置 B{'x2I#,  
5y07@x  
g_?:G$1H  
struts.devMode @+LkGrDP  
      Whether Struts is in development mode or not >[TB8  
      是否为struts开发模式 ("(:wYR%  
>%jQw.  
struts.dispatcher.parametersWorkaround d#yb($HAJ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic MxMrLiqU6l  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) / sI0{  
B0Ql1x#x  
struts.enable.DynamicMethodInvocation 2_@vSwC  
      Allows one to disable dynamic method invocation from the URL !e?;f=1+E  
        允许动态方法调用 EsR_J/:Qe  
U 2k^X=yl  
struts.freemarker.manager.classname ~A<1xszC  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class b|F_]i T  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \DsP '-t  
sM)qzO2wh  
struts.i18n.encoding :#8#tLv  
      The encoding to use for localization messages ~~eR,HYk  
      国际化信息内码 Sc Uh -y_  
/Po't(-x  
struts.i18n.reload 2Cd#~  
      Whether the localization messages should automatically be reloaded lWj{pyZ  
      是否国际化信息自动加载 o~7~S  
f,GF3vu"  
struts.locale jUjgxP*7m  
      The default locale for the Struts application Kn~f$1  
      默认的国际化地区信息 W =YFe<Q  
%Od?(m"&  
struts.mapper.class )G$/II9d  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class IV$pA`|V  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 s)Bl1\Q  
K5-wuD1  
struts.multipart.maxSize lA[BV7.=7  
      The maximize size of a multipart request (file upload) M&P?/Zi=L  
      multipart请求信息的最大尺寸(文件上传用) bqEQP3t^  
~\A(xmW}  
struts.multipart.parser uJ jm50R<  
      The org.apache.struts2.dispatcher.multipart. :wiQ^ea  
      MultiPartRequest parser implementation for a multipart request (file upload) [<m1xr4"k  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7{HJjH!zx  
y.6D Z  
vto^[a6?  
struts.multipart.saveDir >?iL_YTX  
      The directory to use for storing uploaded files "N'tmzifh  
      设置存储上传文件的目录夹 f\CJ |tKX  
L\d"|87lX  
struts.objectFactory H^ _[IkuA%  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4QbDDvRQ^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^Glmg}>q  
?f!w:z p  
struts.objectFactory.spring.autoWire 4B>N[#-0=  
      Whether Spring should autoWire or not 8>" vAEf  
      是否自动绑定Spring X`kTbIZ|  
#rSm;'%,  
struts.objectFactory.spring.useClassCache  QDCu  
      Whether Spring should use its class cache or not 0M^7#),  
      是否spring应该使用自身的cache _[ml<HW]  
f0rM 4"1  
struts.objectTypeDeterminer ^_FB .y%  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^|yw)N]Q/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s=0z%~H  
-*8|J;  
struts.serve.static.browserCache 9\9:)q  
If static content served by the Struts filter should set browser caching header properties or not w"Gci~]bXU  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ">='l9  
'TWZ@8h~  
struts.serve.static xa+=9=<AQ  
      Whether the Struts filter should serve static content or not R;+vE'&CO  
      是否struts过滤器应该提供静态内容 ??& Q"6Oe  
&2-dZK  
struts.tag.altSyntax &DoYz[q  
      Whether to use the alterative syntax for the tags or not !{'C.sb?~  
      是否可以用替代的语法替代tags c#'t][Ii  
Fj? Q4_  
struts.ui.templateDir -xg$qvK  
      The directory containing UI templates 9 cU]@j}2  
      UI templates的目录夹 J^tLKTB  
)}QtK+Rq  
struts.ui.theme x6Q,$B  
      The default UI template theme r;}%} /IX  
      默认的UI template主题 LIfQh  
Ne7HPSWiOP  
struts.url.http.port =7{n 2  
      The HTTP port used by Struts URLs }7p`8?  
      设置http端口 v x qsK  
eXo7_#  
struts.url.https.port d:08@~#  
      The HTTPS port used by Struts URLs Zpfsh2`  
      设置https端口 b1An2 e[  
'qR)f\em  
struts.url.includeParams c*o05pMS  
      The default includeParams method to generate Struts URLs 1?:/8l%V  
      在url中产生 默认的includeParams %j3XoRex><  
Ox .6]W~  
z ((Y\vP  
struts.velocity.configfile ;S Re`  
      The Velocity configuration file path (+SfDL$m  
      velocity配置文件路径 :x"Q[079  
b CWSh~  
struts.velocity.contexts -'SpSy'_  
      List of Velocity context names OV<'v%_&  
      velocity的context列表 Q<4Sd:P`"  
^0oOiZs  
%K0 H?^.  
struts.velocity.manager.classname F@ Sw  
      org.apache.struts2.views.velocity.VelocityManager implementation class \F`%vZrKR  
      org.apache.struts2.views.velocity.VelocityManager接口名 }HdibCAOf  
} a#RX$d&  
struts.velocity.toolboxlocation "u#,#z_  
      The location of the Velocity toolbox p0c*)_a*  
      velocity工具盒的位置 sw<GlF"  
struts.xslt.nocache R_? Q`+X  
      Whether or not XSLT templates should not be cached ]w7wwU^^*U  
      是否XSLT模版应该被缓存 R@ksYC3 F  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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