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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @2GhN&=  
s2(w#n)  
struts.action.extension STFQ";z$  
      The URL extension to use to determine if the request is meant for a Struts action 2A@Y&g(6T7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a in#_H  
=Do3#Xe2V  
struts.configuration 7/p J6>  
      The org.apache.struts2.config.Configuration implementation class jkQt'!  
        org.apache.struts2.config.Configuration接口名 F_p3:l  
[9db=$v8$  
struts.configuration.files gL[1wM%?  
      A list of configuration files automatically loaded by Struts .N zW@|  
      struts自动加载的一个配置文件列表 ;Sx'O  
 c{f:5 p  
struts.configuration.xml.reload v -|P_O&z  
      Whether to reload the XML configuration or not %-1BA *J`|  
      是否加载xml配置(true,false) t?du+:  
8xD<A|  
struts.continuations.package -H ac^4uF  
      The package containing actions that use Rife continuations }rj C_q  
      含有actions的完整连续的package名称 n,Yr!W:h  
D^N#E>,  
struts.custom.i18n.resources oPBg+Bh*  
      Location of additional localization properties files to load +qh< Fj>  
      加载附加的国际化属性文件(不包含.properties后缀) !BvTJ-e)F  
,E/Y@sajn+  
struts.custom.properties (.@p4q Q-  
      Location of additional configuration properties files to load (_i vN  
      加载附加的配置文件的位置 epG X.  
zDvP7hl  
7T|J[W O  
struts.devMode NSxPN:  
      Whether Struts is in development mode or not $tt0D?$4  
      是否为struts开发模式 oqd N5+xt  
(g iTp@Tp  
struts.dispatcher.parametersWorkaround I\Gp9w0f  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic HP4'8#3o  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^sf[dr;BA  
3x(MvW30Lg  
struts.enable.DynamicMethodInvocation PcNf TB{  
      Allows one to disable dynamic method invocation from the URL r:WgjjA%  
        允许动态方法调用 IQk#  
{l*&l2  
struts.freemarker.manager.classname kYI(<oTY~  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Hl3XqR  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 JK:mQ_  
xM'S ;Sg  
struts.i18n.encoding },Y; (n'  
      The encoding to use for localization messages 8~[C'+r  
      国际化信息内码 zV_-rf  
iw~V_y4  
struts.i18n.reload |W~V@n8"6  
      Whether the localization messages should automatically be reloaded aaf_3UH.B  
      是否国际化信息自动加载 bWQORjnd8  
$)TF,-#x  
struts.locale e>vUkP y  
      The default locale for the Struts application w /W Cj4`  
      默认的国际化地区信息 rs 1*H  
4MtqQq4%  
struts.mapper.class $*v20  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class mBpsgm:g^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 _iboTcUF  
X!+Mgh6  
struts.multipart.maxSize ev: !,}]w  
      The maximize size of a multipart request (file upload) "{ QHWZ  
      multipart请求信息的最大尺寸(文件上传用) 1$!RKqT  
{DXZ}7w:v  
struts.multipart.parser 4QKE{0NE  
      The org.apache.struts2.dispatcher.multipart. hRy }G'0  
      MultiPartRequest parser implementation for a multipart request (file upload) z$BnEd.y=:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) SAll9W4  
da?th  
0)`lx9&h  
struts.multipart.saveDir 7 6i rb!-  
      The directory to use for storing uploaded files $m: a-.I  
      设置存储上传文件的目录夹 u<y\iZ[   
w[A3;]la  
struts.objectFactory R.YGmT'2  
      The com.opensymphony.xwork2.ObjectFactory implementation class :D+ SY  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 'y M:W cN  
'3u]-GU2_  
struts.objectFactory.spring.autoWire ge {4;,0=  
      Whether Spring should autoWire or not !VJa$>,  
      是否自动绑定Spring {O&liU4  
5WNg+  
struts.objectFactory.spring.useClassCache q'V{vFfY%  
      Whether Spring should use its class cache or not 8rG&CxI  
      是否spring应该使用自身的cache T4}?w  
np\Q&  
struts.objectTypeDeterminer ;?lM|kK  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Z8dN0AqZ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $}UJs <-F  
>scS wT  
struts.serve.static.browserCache x>9EVa)  
If static content served by the Struts filter should set browser caching header properties or not n#4J]Z@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 S5 nw  
8`~3MsE"  
struts.serve.static s=~7m.m  
      Whether the Struts filter should serve static content or not KZ}4<{3  
      是否struts过滤器应该提供静态内容 zT-"kK  
3Q~&xNf  
struts.tag.altSyntax Isgk  
      Whether to use the alterative syntax for the tags or not 5GFnfc}  
      是否可以用替代的语法替代tags FHcqu_;J  
kt3#_d^El  
struts.ui.templateDir 'sQO0611S  
      The directory containing UI templates U?^|>cMr  
      UI templates的目录夹 ;)]zv\fC  
lg  
struts.ui.theme geN%rD  
      The default UI template theme Mh.eAM8_  
      默认的UI template主题 5)v^ cR?&  
;F(01  
struts.url.http.port q4ko}jn  
      The HTTP port used by Struts URLs 'C>SyU  
      设置http端口 _vLT!y  
&q}@[ )V4  
struts.url.https.port *5|\if\  
      The HTTPS port used by Struts URLs *AxKV5[H  
      设置https端口 \:" s*-  
Sf*VkH  
struts.url.includeParams ,VHvQU  
      The default includeParams method to generate Struts URLs im1]:kr7  
      在url中产生 默认的includeParams I{1w8m4O6  
g~Q#U;]  
pu`|HaQaE  
struts.velocity.configfile O[`n{Vl/  
      The Velocity configuration file path y f+/Kj< a  
      velocity配置文件路径 ]Fj z+CGg  
9"<)DS  
struts.velocity.contexts <'B`b  
      List of Velocity context names S)Ld^0w  
      velocity的context列表 wetkmd  
j4brDlo?@  
l"ih+%S  
struts.velocity.manager.classname teM&[U  
      org.apache.struts2.views.velocity.VelocityManager implementation class Ye1P5+W(  
      org.apache.struts2.views.velocity.VelocityManager接口名 [_H9l)  
M(/%w"R  
struts.velocity.toolboxlocation B>~E6j7[Mp  
      The location of the Velocity toolbox bJ/~UEZw  
      velocity工具盒的位置 <y`yKXzBUV  
struts.xslt.nocache T8qG9)~3  
      Whether or not XSLT templates should not be cached Q7#Q6-Q  
      是否XSLT模版应该被缓存 Vr5a:u'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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