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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 u|]`gsFZ\  
kI>PaZ`i)  
struts.action.extension ThSB\  
      The URL extension to use to determine if the request is meant for a Struts action YE\s<$  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |*WE@L5  
IQ"9#{o  
struts.configuration x>=8~wIK  
      The org.apache.struts2.config.Configuration implementation class gnN"pa!&~  
        org.apache.struts2.config.Configuration接口名 ..hD_k  
_lj&}>l  
struts.configuration.files :Pf2oQ  
      A list of configuration files automatically loaded by Struts &*wc` U  
      struts自动加载的一个配置文件列表 Zm!5X9^!  
csay\Q{  
struts.configuration.xml.reload k3B-;%3I;  
      Whether to reload the XML configuration or not B)4>:j:{?W  
      是否加载xml配置(true,false) )mw&e}jRV  
!%4&O  
struts.continuations.package 41V}6+$g  
      The package containing actions that use Rife continuations +Qe&#"O0  
      含有actions的完整连续的package名称 Iz[T.$9  
VDP \E<3"  
struts.custom.i18n.resources 2{o eJ  
      Location of additional localization properties files to load 0*Is#73rjY  
      加载附加的国际化属性文件(不包含.properties后缀) jVtRn.qh  
"~&d= f0m  
struts.custom.properties {)d{:&*K.  
      Location of additional configuration properties files to load mlD 1 o  
      加载附加的配置文件的位置 d=_Wgz,d  
+sc--e?  
d2e4=/ A%  
struts.devMode Zr.6J*&!  
      Whether Struts is in development mode or not )2jBhT  
      是否为struts开发模式 9c_h+XN?y  
*N #{~  
struts.dispatcher.parametersWorkaround k)l^ ;x-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic VU[4 W8f  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .;xt{kK  
AH#eoKu  
struts.enable.DynamicMethodInvocation =whYo?cE(  
      Allows one to disable dynamic method invocation from the URL l@zr1g)  
        允许动态方法调用 y=)xo7 (  
NJ{M-K%>  
struts.freemarker.manager.classname b];p/V# <  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $M=W`E[g  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 }}'0r2S  
V]$Tbxg  
struts.i18n.encoding 06#40-   
      The encoding to use for localization messages  )6 _+  
      国际化信息内码 o@&d d NO  
`Mxi2Y{vp  
struts.i18n.reload oJEUNgY&  
      Whether the localization messages should automatically be reloaded BcvCm+.S:  
      是否国际化信息自动加载 <x|P}  
_#8OHG.x  
struts.locale p7pJ90~E  
      The default locale for the Struts application (wRJ"Nwu  
      默认的国际化地区信息 VV1I2YcKt  
\)Bws `  
struts.mapper.class 5/),HGxi  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class FX#fh 2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 #AJo75E%  
![,W?  
struts.multipart.maxSize _s_%}8o  
      The maximize size of a multipart request (file upload) /.u0rxoRP}  
      multipart请求信息的最大尺寸(文件上传用) >[ox|_o  
?Hd/!I&  
struts.multipart.parser `bdCom  
      The org.apache.struts2.dispatcher.multipart. #&cNR_"w  
      MultiPartRequest parser implementation for a multipart request (file upload) *N;# _0)/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 85 5JAf  
,'m<YTF  
*"pf3x6  
struts.multipart.saveDir #H@rb  
      The directory to use for storing uploaded files ]E hW  
      设置存储上传文件的目录夹 VkNg Vjg  
W_E0+  
struts.objectFactory MZ{gU>K+  
      The com.opensymphony.xwork2.ObjectFactory implementation class _8U 5mW  
      com.opensymphony.xwork2.ObjectFactory接口(spring) u,R;=DNl  
^at X/  
struts.objectFactory.spring.autoWire 7jZ=+2  
      Whether Spring should autoWire or not !Deg!f\g  
      是否自动绑定Spring |aT&rpt   
A80r@)i  
struts.objectFactory.spring.useClassCache tX$ v)O|  
      Whether Spring should use its class cache or not |Ts|>"F'  
      是否spring应该使用自身的cache Jmp%%^  
/*+P}__k  
struts.objectTypeDeterminer {Di()]/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class : ;nvqbd  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 H7 xyK  
$#k8xb  
struts.serve.static.browserCache ]d}U68$T+  
If static content served by the Struts filter should set browser caching header properties or not %`cP|k  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 B3lP#ckh  
mct$.{~  
struts.serve.static oA ;sP'  
      Whether the Struts filter should serve static content or not O{^ET:K@  
      是否struts过滤器应该提供静态内容 VoOh$&"M  
\!erP!$x .  
struts.tag.altSyntax $X9`~Sv _  
      Whether to use the alterative syntax for the tags or not 2k}" 52  
      是否可以用替代的语法替代tags P@m_tA%  
S<f]Y4A&  
struts.ui.templateDir MrW#~S|ED  
      The directory containing UI templates d%y)/5  
      UI templates的目录夹 $fhb-c3  
r{V=)h  
struts.ui.theme %V+hm5Q  
      The default UI template theme <Oi65O_X  
      默认的UI template主题 %q~YJ*\  
Eu4-=2!4  
struts.url.http.port =peodj^  
      The HTTP port used by Struts URLs fr\"MP  
      设置http端口 ^4WNP  
{!lC$SlJ  
struts.url.https.port :/c40:[  
      The HTTPS port used by Struts URLs ZB)`*z>*  
      设置https端口 k_E Jg;(  
#^+C k HX  
struts.url.includeParams s7A3CY]->  
      The default includeParams method to generate Struts URLs <Be:fnPX7  
      在url中产生 默认的includeParams %[<@$qP  
)<?^~"h  
5d7AE^SHsH  
struts.velocity.configfile V!Px975P  
      The Velocity configuration file path -A?6)ggf.  
      velocity配置文件路径 xp!M A  
'S_OOzpC  
struts.velocity.contexts ; S(KJV  
      List of Velocity context names qSg#:;(O  
      velocity的context列表 m44"qp  
>9Yo:b:f  
CNo'qlvF5N  
struts.velocity.manager.classname $ ]ew<j  
      org.apache.struts2.views.velocity.VelocityManager implementation class Yq6e=?-  
      org.apache.struts2.views.velocity.VelocityManager接口名 @>r3=s.Q  
Xjy5Yj  
struts.velocity.toolboxlocation g[D(]t\#x  
      The location of the Velocity toolbox Lp|7s8?  
      velocity工具盒的位置 3Kx&+  
struts.xslt.nocache kB2]Z}   
      Whether or not XSLT templates should not be cached :>:F6Db"U  
      是否XSLT模版应该被缓存 `b11,lg  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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