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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 v}LI-~M>U  
po\(O8#5U  
struts.action.extension A^ofs*"Y  
      The URL extension to use to determine if the request is meant for a Struts action "%}24t%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >{S ~(KxK  
 8 X Qo  
struts.configuration N TcojA{V$  
      The org.apache.struts2.config.Configuration implementation class \5|MW)x  
        org.apache.struts2.config.Configuration接口名 5Q;Q  
$J8g)cS  
struts.configuration.files / 3eGt7x#  
      A list of configuration files automatically loaded by Struts !\VzX  
      struts自动加载的一个配置文件列表 \sz*M B  
C(8VXtx_  
struts.configuration.xml.reload O^J=19Ri  
      Whether to reload the XML configuration or not d.|*sZ&3p  
      是否加载xml配置(true,false) dbJ3E)rF  
Q.?(h! )9  
struts.continuations.package /!?b&N/d)  
      The package containing actions that use Rife continuations cJerYRjsL  
      含有actions的完整连续的package名称 r]@T9\9  
Mz6\T'rC  
struts.custom.i18n.resources qj9[mBkP"  
      Location of additional localization properties files to load U&i#cF   
      加载附加的国际化属性文件(不包含.properties后缀) Z`_x|cU?J  
Y'{}L@"t  
struts.custom.properties tD*k   
      Location of additional configuration properties files to load  !2kM  
      加载附加的配置文件的位置 %QG3~b% h  
fMIRr5  
k%3)J"|/  
struts.devMode + -uQ] ^n  
      Whether Struts is in development mode or not <6Y|vEo!N  
      是否为struts开发模式 _\=x A6!  
B(WmJ6e  
struts.dispatcher.parametersWorkaround ;>uB$8<_7  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic P3.  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o}DR p4;Ka  
ClY`2  
struts.enable.DynamicMethodInvocation Iprt ZqiL  
      Allows one to disable dynamic method invocation from the URL T+^Sa J  
        允许动态方法调用 ic5af"/(\  
uh2 F r  
struts.freemarker.manager.classname ^&D5J\][  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class JH| D  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;*'I&  
tm/=Oc1p  
struts.i18n.encoding ,4S[<(T"  
      The encoding to use for localization messages veuX />!  
      国际化信息内码 Ni8%K6]z  
(/At+MF3E  
struts.i18n.reload ^vxx]Hji  
      Whether the localization messages should automatically be reloaded *^%+PQ  
      是否国际化信息自动加载 EnGh&]  
&\I<j\F2/  
struts.locale R%4Yg(-Q  
      The default locale for the Struts application i}:hmy'  
      默认的国际化地区信息 Q7<Y5+  
+m]-)  
struts.mapper.class gzlxkv-F{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class O&MH5^I  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 whYk"N  
wK0x\V6dJ  
struts.multipart.maxSize (kVY\!UAt  
      The maximize size of a multipart request (file upload) BYu(a  
      multipart请求信息的最大尺寸(文件上传用) >|, <9z`D  
P4HoKoj2`  
struts.multipart.parser 7m  ou  
      The org.apache.struts2.dispatcher.multipart. !KJA)znx;(  
      MultiPartRequest parser implementation for a multipart request (file upload) X&HYWH'@,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) - . o,bg  
Fm=jgt3wv8  
ia3Q1 9r  
struts.multipart.saveDir :1Nc6G  
      The directory to use for storing uploaded files %3*|Su%uC  
      设置存储上传文件的目录夹 \?oT.z5VG&  
z Ohv>a  
struts.objectFactory w+"E{#N  
      The com.opensymphony.xwork2.ObjectFactory implementation class w>8HS+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) c0Bqm  
wm^1Fn--  
struts.objectFactory.spring.autoWire *+zFsu4l  
      Whether Spring should autoWire or not w,X)g{^T  
      是否自动绑定Spring SHs [te[  
T*mR9 8i  
struts.objectFactory.spring.useClassCache XlD=<$Nk7  
      Whether Spring should use its class cache or not !yT=*Cj4  
      是否spring应该使用自身的cache qtdkK LT  
_h4]gZ  
struts.objectTypeDeterminer q6N{N>-D  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class z6}p4  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 p7 !y#  
X $V_  
struts.serve.static.browserCache G62;p#  
If static content served by the Struts filter should set browser caching header properties or not >?OUs>}3y2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 T u%XhXl:j  
&"W gO!pzD  
struts.serve.static >]anTF`d  
      Whether the Struts filter should serve static content or not :!l.ze{F  
      是否struts过滤器应该提供静态内容 $W=)-X\>  
-<k)|]8  
struts.tag.altSyntax qLN\>Z,3;  
      Whether to use the alterative syntax for the tags or not h^_^)P+;  
      是否可以用替代的语法替代tags hSxK*.W*3  
Go1xyd:k  
struts.ui.templateDir R<_VWPlj  
      The directory containing UI templates 2q]ZI  
      UI templates的目录夹 c7{s'ifG  
ovOV&Zt  
struts.ui.theme J~xm[^0  
      The default UI template theme `q\F C[W  
      默认的UI template主题 ob8}v*s  
r>! @Z2%s  
struts.url.http.port {ZSAPq4)L  
      The HTTP port used by Struts URLs Ip`1Wv_  
      设置http端口 5x|$q kI  
p#Po?  
struts.url.https.port Q=d:Yz":S  
      The HTTPS port used by Struts URLs /s%-c!o^  
      设置https端口 )X," NJG  
-W.-m2:1  
struts.url.includeParams 3 ^x&G?)  
      The default includeParams method to generate Struts URLs ern\QAhXX  
      在url中产生 默认的includeParams sVFX(yx0  
6w? GeJ  
\D' mo  
struts.velocity.configfile )7!,_r  
      The Velocity configuration file path Tc!n@!RA|  
      velocity配置文件路径 E+EcXf  
3QKBuo  
struts.velocity.contexts k"%JyO8Y  
      List of Velocity context names S&-F(#CF^  
      velocity的context列表 ctHQZ#.[(  
a#+$.e5  
j@#RfVx  
struts.velocity.manager.classname y{<js!au  
      org.apache.struts2.views.velocity.VelocityManager implementation class `KLr!<i()  
      org.apache.struts2.views.velocity.VelocityManager接口名 nC !NZ  
fj['M6+wd  
struts.velocity.toolboxlocation Cq7 uy  
      The location of the Velocity toolbox T%9t8?I  
      velocity工具盒的位置 -dF (_ %C  
struts.xslt.nocache B5+Q%)52  
      Whether or not XSLT templates should not be cached rN7JJHV  
      是否XSLT模版应该被缓存 *2N0r2t&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五