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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ux vqMgR  
eg;~zv  
struts.action.extension EyJJ0  
      The URL extension to use to determine if the request is meant for a Struts action (X\@t-8  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 JfLqtXF[&"  
!>..Q)z  
struts.configuration @tNzQ8  
      The org.apache.struts2.config.Configuration implementation class R;uvkg[o  
        org.apache.struts2.config.Configuration接口名 FKDk+ojw  
FWrX3i  
struts.configuration.files SB H(y)  
      A list of configuration files automatically loaded by Struts C zs8!S  
      struts自动加载的一个配置文件列表 1\ o59Y  
Yg%I?  
struts.configuration.xml.reload sBvzAVBL  
      Whether to reload the XML configuration or not )r xX+k+b/  
      是否加载xml配置(true,false) `ZYoA t]C~  
V5V bJBpf  
struts.continuations.package /Kql>$I  
      The package containing actions that use Rife continuations gY/"cq  
      含有actions的完整连续的package名称 {Aw#?#GPW  
iT3BF"ZqBO  
struts.custom.i18n.resources /R]U}o^/(%  
      Location of additional localization properties files to load tdBm (CsN  
      加载附加的国际化属性文件(不包含.properties后缀) N +Yxz;Mg  
y" RF;KW>  
struts.custom.properties $p#Bi-&  
      Location of additional configuration properties files to load AG`L64B  
      加载附加的配置文件的位置 A5c%SCq;  
KX,S  
;=)k<6  
struts.devMode =Y{(%sn  
      Whether Struts is in development mode or not <\r T%f}3^  
      是否为struts开发模式 UZ\u;/}  
4":KoS`,j  
struts.dispatcher.parametersWorkaround _|kxY '_[8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic J=9FRC  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) P{kur} T  
/M1ob:m  
struts.enable.DynamicMethodInvocation ;DqWh0  
      Allows one to disable dynamic method invocation from the URL !;q&NHco  
        允许动态方法调用 _{I3i:f9X8  
+"\sc;6m.  
struts.freemarker.manager.classname P+@/O  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t<.)Z-Ii  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Aza /6OL  
dk[!V1x4\  
struts.i18n.encoding yj 3cyLXw  
      The encoding to use for localization messages 5d Eh7XL  
      国际化信息内码 SYAyk  
Pr':51(  
struts.i18n.reload Q{sH3Y#l  
      Whether the localization messages should automatically be reloaded 7Wf/$vRab  
      是否国际化信息自动加载 4[m`#  
\ub7`01  
struts.locale % L$bf#  
      The default locale for the Struts application {f/~1G[M  
      默认的国际化地区信息 k+# %DK  
_C%3h5  
struts.mapper.class %KC yb  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class F~R;n_IJ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 hgYZOwQ  
0fb2;&pUa  
struts.multipart.maxSize s Ep"D+f  
      The maximize size of a multipart request (file upload) R1adWBD>  
      multipart请求信息的最大尺寸(文件上传用) + [iQLM?zo  
132{# tG]  
struts.multipart.parser }|0^EWL  
      The org.apache.struts2.dispatcher.multipart. 2J7:\pR^  
      MultiPartRequest parser implementation for a multipart request (file upload) d[@X%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {j.bC@hWw  
Ec3}_`  
|7'df&CA  
struts.multipart.saveDir *v;2PP[^  
      The directory to use for storing uploaded files -u6bAQ  
      设置存储上传文件的目录夹 \ :%(q/v"X  
9&-dTayIz  
struts.objectFactory Sq>dt[7  
      The com.opensymphony.xwork2.ObjectFactory implementation class DrKP%BnS  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |HiE@  
y`Wty@  
struts.objectFactory.spring.autoWire >:74%D0UF  
      Whether Spring should autoWire or not [owWiN4`s  
      是否自动绑定Spring Ci@o|Y }tP  
MK%9:wZ  
struts.objectFactory.spring.useClassCache ~qiJR`Jj  
      Whether Spring should use its class cache or not }*M6x;t  
      是否spring应该使用自身的cache $t$ShT)  
y;35WtDVb  
struts.objectTypeDeterminer .[]r}[lU  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class X&tF;<m^  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7-bd9uVK  
;km`P|<U  
struts.serve.static.browserCache B~1 _28\  
If static content served by the Struts filter should set browser caching header properties or not H4WP~(__  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Q:2>}QgX}  
/C:Y94B-z  
struts.serve.static u 1>2v  
      Whether the Struts filter should serve static content or not wT6"U$cV  
      是否struts过滤器应该提供静态内容 zU5v /'h>d  
qzYwt]GNS  
struts.tag.altSyntax R5N%e%[  
      Whether to use the alterative syntax for the tags or not CuaVb1r  
      是否可以用替代的语法替代tags ^h(ew1:  
t|w_i-&b,  
struts.ui.templateDir {3|t;ZHk  
      The directory containing UI templates |B?cVc0  
      UI templates的目录夹 qk%;on&`  
ih58 <Up5  
struts.ui.theme 66g9l9wm(  
      The default UI template theme S5gyr&dm  
      默认的UI template主题 Y z<3JRw  
u0JB\)(-/h  
struts.url.http.port }zeO]"`  
      The HTTP port used by Struts URLs QmQ=q7  
      设置http端口 P{8iJ`rBG  
52@C9Q,  
struts.url.https.port ]i|h(>QWP  
      The HTTPS port used by Struts URLs cq,SP&T~  
      设置https端口 +^` I?1\UF  
QE^$=\l0  
struts.url.includeParams 3lf=b~Zi)  
      The default includeParams method to generate Struts URLs Zd3S:),&  
      在url中产生 默认的includeParams 2Z+Wu3#  
xs{3pkTYD  
p2hB8zL  
struts.velocity.configfile )1]ZtU  
      The Velocity configuration file path 2i)^ !c  
      velocity配置文件路径 bg!/%[ {M  
W,K;6TZhh  
struts.velocity.contexts !8TlD-ZT/  
      List of Velocity context names MUaq7B_>  
      velocity的context列表 prWk2_D;*  
K?6jXJseb  
eQ$Y0qH1E  
struts.velocity.manager.classname !44/sr'  
      org.apache.struts2.views.velocity.VelocityManager implementation class y`L>wq,KU  
      org.apache.struts2.views.velocity.VelocityManager接口名 QJZK|*  
 |tKsgj  
struts.velocity.toolboxlocation Xe3U`P7(  
      The location of the Velocity toolbox R4[N:~Z$|  
      velocity工具盒的位置 oI?3<M^  
struts.xslt.nocache S(k3 `;K  
      Whether or not XSLT templates should not be cached ^%d\qd`   
      是否XSLT模版应该被缓存 YX!{P=Ua  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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