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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |du%c`wl  
'lA}E  
struts.action.extension K_)~&Cu*'  
      The URL extension to use to determine if the request is meant for a Struts action j}ob7O&U'w  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g&xj(SMj-$  
w8 :[w  
struts.configuration *O~y6|U?  
      The org.apache.struts2.config.Configuration implementation class jL\j$'KC  
        org.apache.struts2.config.Configuration接口名 rC^ 5Z  
3LLG#l )8  
struts.configuration.files &<98n T  
      A list of configuration files automatically loaded by Struts T:@6(_Z  
      struts自动加载的一个配置文件列表 {kk%_q  
l'EO@D/M  
struts.configuration.xml.reload 7s?#y=M  
      Whether to reload the XML configuration or not BJux5Nh  
      是否加载xml配置(true,false) 0>BxS9?w  
M\m:H3[  
struts.continuations.package >fXtu:C-!J  
      The package containing actions that use Rife continuations MrHJ)x"hy  
      含有actions的完整连续的package名称 *pwkv7Z h  
zX_F+"]THt  
struts.custom.i18n.resources q8d](MaX  
      Location of additional localization properties files to load K`K v.4  
      加载附加的国际化属性文件(不包含.properties后缀) t8-Nli*O  
(NLw#)?  
struts.custom.properties ?0/$RpFEM#  
      Location of additional configuration properties files to load =Q(J!f  
      加载附加的配置文件的位置 c36p+6rJk=  
MT~^wI0a  
'M~`IN`  
struts.devMode (&SU)Uvu  
      Whether Struts is in development mode or not =l43RawAmu  
      是否为struts开发模式 #4bT8kq  
) 1AAL0F\B  
struts.dispatcher.parametersWorkaround Pb'(Y  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 00 x -  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) v-z%3x.f  
^5E9p@d"J  
struts.enable.DynamicMethodInvocation p$ \>3\  
      Allows one to disable dynamic method invocation from the URL _s5^\~ao  
        允许动态方法调用 F9o7=5WAb  
DSwb8q  
struts.freemarker.manager.classname ~Q_7HJ=^$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^yPZ$Q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?2&= +QaT  
&K0b3AWc  
struts.i18n.encoding HQP.7.w7 5  
      The encoding to use for localization messages $,~Ily7w  
      国际化信息内码 0beP7}$  
Mm@G{J\\  
struts.i18n.reload [o<hQ`&  
      Whether the localization messages should automatically be reloaded 4tCM 2it%  
      是否国际化信息自动加载 33DP?nI}  
t/;0/ql\  
struts.locale =Mx"+/Yo*  
      The default locale for the Struts application Hnt*,C.0  
      默认的国际化地区信息 $~6MR_Yq  
cRf F!EV  
struts.mapper.class 32 i6j  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^Ye(b7Gd  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $"vz>SuB  
j<~Wp$\i7>  
struts.multipart.maxSize 1M&Lb. J6  
      The maximize size of a multipart request (file upload) G~5pMyOR  
      multipart请求信息的最大尺寸(文件上传用) !-OZ/^l|O`  
jcqUY+T$  
struts.multipart.parser fc3nQp7  
      The org.apache.struts2.dispatcher.multipart. ] x)>q  
      MultiPartRequest parser implementation for a multipart request (file upload) Nb$0pc1J<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #1haq[Uv7  
|,,#DSe  
#<)[{+f[t  
struts.multipart.saveDir `;}`>!8j  
      The directory to use for storing uploaded files Acw`ytV  
      设置存储上传文件的目录夹 B9NUafK=  
0E26J@jcZ7  
struts.objectFactory CBd%}il  
      The com.opensymphony.xwork2.ObjectFactory implementation class &'/"=lK  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Jt5V{9:('  
`e,}7zGR  
struts.objectFactory.spring.autoWire F[}#7}xjA  
      Whether Spring should autoWire or not 5Hu[*  
      是否自动绑定Spring nCi ]6;Y  
&pzL}/u  
struts.objectFactory.spring.useClassCache I]eeV+U8W  
      Whether Spring should use its class cache or not 6HCg<_j]  
      是否spring应该使用自身的cache y7UU'k`  
(@} ^ 3jpT  
struts.objectTypeDeterminer ^)9/Wz _x  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [ ojL9.6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7310'wc  
2B$dT=G  
struts.serve.static.browserCache *}C%z(  
If static content served by the Struts filter should set browser caching header properties or not %q|* }l  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 F8?,}5j  
` 1+*-g^r  
struts.serve.static sX6\AYF1M  
      Whether the Struts filter should serve static content or not "m^gCN}c  
      是否struts过滤器应该提供静态内容 4S'e>:  
PJZ;wqTD_  
struts.tag.altSyntax 9!=4}:+  
      Whether to use the alterative syntax for the tags or not N>3{!K>/Y:  
      是否可以用替代的语法替代tags "&SE!3*m`I  
sP^:*B0  
struts.ui.templateDir dsw^$R}   
      The directory containing UI templates =* 'yGB[x)  
      UI templates的目录夹 R^`}DlHX  
7Z2D}O +  
struts.ui.theme uH$hMg  
      The default UI template theme &]a(5  
      默认的UI template主题 e*'bY;8lo  
1 0zM8<bl  
struts.url.http.port :a Cf@:']  
      The HTTP port used by Struts URLs 8#$HKWUK  
      设置http端口 WrwbLlE  
Ydsnu  
struts.url.https.port L$c 1<7LU  
      The HTTPS port used by Struts URLs pRjEuOc  
      设置https端口 e6'0g=Y#   
0(c,J$I]Z!  
struts.url.includeParams w@2NXcmw  
      The default includeParams method to generate Struts URLs XC6|<pru  
      在url中产生 默认的includeParams @;9KP6d  
;PMPXN'z6  
~L&z? 'V  
struts.velocity.configfile "8a V~]~Dj  
      The Velocity configuration file path O(evlci  
      velocity配置文件路径 ZWyf.VJ  
o&q:b9T  
struts.velocity.contexts w\ '5l k,"  
      List of Velocity context names $R ze[3  
      velocity的context列表 _Rj bm'kC  
M"c=_5P  
U{EcV%C2  
struts.velocity.manager.classname .vmCKZ  
      org.apache.struts2.views.velocity.VelocityManager implementation class 1h(n}u  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?a+J4Zr3  
D {E,XOi  
struts.velocity.toolboxlocation tWZ8(E$  
      The location of the Velocity toolbox {nZP4jze  
      velocity工具盒的位置 c;b<z|}z  
struts.xslt.nocache Y"5FK  
      Whether or not XSLT templates should not be cached G| &$/]~  
      是否XSLT模版应该被缓存 +tkm,>s  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五