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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 XI#1)  
]+RBykr  
struts.action.extension ~Dsz9  f  
      The URL extension to use to determine if the request is meant for a Struts action ,U9gg-.Lp  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =<nx [J  
7VWq8FH`  
struts.configuration 5c*kgj:x  
      The org.apache.struts2.config.Configuration implementation class 8I o--Ew3  
        org.apache.struts2.config.Configuration接口名  [wS~.  
6 Fz?'Xf  
struts.configuration.files G:TM k4  
      A list of configuration files automatically loaded by Struts ]oy>kRnb {  
      struts自动加载的一个配置文件列表 wm>I;|gA)  
ZuV/!9qU  
struts.configuration.xml.reload e RiPC  
      Whether to reload the XML configuration or not ,A`.u\f(:  
      是否加载xml配置(true,false) qF9z@a  
04eE\%?  
struts.continuations.package  "5\<.  
      The package containing actions that use Rife continuations $ f`\TKlN  
      含有actions的完整连续的package名称 mx`C6G5  
]F:5-[V#  
struts.custom.i18n.resources +r0ItqkM  
      Location of additional localization properties files to load Z]H`s{3  
      加载附加的国际化属性文件(不包含.properties后缀) rp*f)rJ  
C^sHj5\(  
struts.custom.properties c#l W ?  
      Location of additional configuration properties files to load ")%)e;V3  
      加载附加的配置文件的位置 OV)J  
)%e`SGmp  
2u0C ~s  
struts.devMode zNe>fZ  
      Whether Struts is in development mode or not 6wk/IJ`  
      是否为struts开发模式 7v9l+OX,6  
QH:PClW![  
struts.dispatcher.parametersWorkaround u(W%snl  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q2wEt >0a  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Y/\y"a  
Gt9(@USK  
struts.enable.DynamicMethodInvocation m:EO}ws=  
      Allows one to disable dynamic method invocation from the URL *_Y{wNF *  
        允许动态方法调用 *Mu X]JK  
>>}4b2U  
struts.freemarker.manager.classname :q6j{C(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class kjW Y{7b!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~&bn} M>W  
FbxrBM  
struts.i18n.encoding 3f;W+^NY  
      The encoding to use for localization messages Jb. V4  
      国际化信息内码 w9QY2v,U  
nW1Obu8x|  
struts.i18n.reload rkw^RW^  
      Whether the localization messages should automatically be reloaded ILsw'  
      是否国际化信息自动加载 tYE\tbCO'  
!/pE6)a  
struts.locale t?& a?6:J  
      The default locale for the Struts application 1=fP68n  
      默认的国际化地区信息 W( O)J$j  
M<'AM4  
struts.mapper.class fB~BVYi  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +6cOL48"  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ZH]n&%@j  
4`(b(DL]  
struts.multipart.maxSize fQZ,kl  
      The maximize size of a multipart request (file upload) 4.?tP7UE  
      multipart请求信息的最大尺寸(文件上传用) P+tnXT>nE  
zoFCHs r  
struts.multipart.parser ZaxBr  
      The org.apache.struts2.dispatcher.multipart. sxac( L  
      MultiPartRequest parser implementation for a multipart request (file upload) \F_~?$  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /%W&zd=%#  
Qx$C oY  
@9yY`\"ed  
struts.multipart.saveDir NkWU5E!  
      The directory to use for storing uploaded files &O0@)jIV  
      设置存储上传文件的目录夹 I)@b#V=  
x. d ;7  
struts.objectFactory |UA)s3Uhxb  
      The com.opensymphony.xwork2.ObjectFactory implementation class .nXOv]  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1: cD\  
Ns^[Hb[b'  
struts.objectFactory.spring.autoWire /, G-1E  
      Whether Spring should autoWire or not wWaO"N]  
      是否自动绑定Spring (_2;}eg  
)_$F/ug  
struts.objectFactory.spring.useClassCache H}TzNs  
      Whether Spring should use its class cache or not a>1_|QB.  
      是否spring应该使用自身的cache XJ\ j0  
xj/Iq<'R*O  
struts.objectTypeDeterminer B]):$#{Rxl  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7WuhYJbf  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 HvhP9_MB  
<+0TN]?  
struts.serve.static.browserCache ~Q  q0  
If static content served by the Struts filter should set browser caching header properties or not *{}Y :  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 xW`,@a }  
Tnw0S8M  
struts.serve.static Xi^#F;@sU  
      Whether the Struts filter should serve static content or not y]dA<d?u  
      是否struts过滤器应该提供静态内容 lRIS&9vA3  
6rBXC <Z  
struts.tag.altSyntax $kc*~V~   
      Whether to use the alterative syntax for the tags or not okl*pA)  
      是否可以用替代的语法替代tags /eZ UAxq  
N~<H`  
struts.ui.templateDir q-3,p.  
      The directory containing UI templates Yv}V =O%  
      UI templates的目录夹 pf_(?\oz>  
LV$@J  
struts.ui.theme :BIgrz"Jz  
      The default UI template theme 7od6`k   
      默认的UI template主题 %hEhZW{:  
Oy> V/  
struts.url.http.port $Tc"7nYu  
      The HTTP port used by Struts URLs W{z7h[?5,  
      设置http端口 A^ :/*  
3bMQ[G  
struts.url.https.port mW_B|dM"  
      The HTTPS port used by Struts URLs a!n |/9 6  
      设置https端口 a@>P?N~LA9  
-F&4<\=+  
struts.url.includeParams 1 uKWvp0\  
      The default includeParams method to generate Struts URLs o;d><  
      在url中产生 默认的includeParams #!a}ZhIt  
fu}ZOPu  
^ Tr )gik  
struts.velocity.configfile p3sR>ToJ  
      The Velocity configuration file path 6xFvu7L_c;  
      velocity配置文件路径 ?8{x/y:  
:E$<!q  
struts.velocity.contexts %TOYU (k  
      List of Velocity context names $-tgd<2h  
      velocity的context列表 y'5 y  
'a}<|Et.  
82mKI+9&"  
struts.velocity.manager.classname //[zUn  
      org.apache.struts2.views.velocity.VelocityManager implementation class q4'Vb  
      org.apache.struts2.views.velocity.VelocityManager接口名 GIo7- 6kvm  
6*!R'  
struts.velocity.toolboxlocation s]tBd !~  
      The location of the Velocity toolbox `V(z z  
      velocity工具盒的位置 `pB]_"b  
struts.xslt.nocache H)eecH$K  
      Whether or not XSLT templates should not be cached p2(U'x c  
      是否XSLT模版应该被缓存 !!jitFHzb  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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