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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ZXu>,Jy  
g$":D  
struts.action.extension :iK(JE`   
      The URL extension to use to determine if the request is meant for a Struts action Bgn&:T8<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,MdV;j ~"'  
m.JBOq=  
struts.configuration j5QuAU8  
      The org.apache.struts2.config.Configuration implementation class \<&m&%Zs  
        org.apache.struts2.config.Configuration接口名 hjU::m,WX  
"$~':) V"  
struts.configuration.files }v@dL3{f  
      A list of configuration files automatically loaded by Struts T]R|qlZ  
      struts自动加载的一个配置文件列表 5/q}`T9i%7  
sz5MH!/PJ  
struts.configuration.xml.reload fWCo;4<5?  
      Whether to reload the XML configuration or not %"kPvI3Y  
      是否加载xml配置(true,false) xN>npP   
GX)u|g  
struts.continuations.package Yab%/z2:  
      The package containing actions that use Rife continuations _A M*@|p,  
      含有actions的完整连续的package名称 l3KVW5-!gS  
xVf| G_5$  
struts.custom.i18n.resources O6Vtu Ws%  
      Location of additional localization properties files to load $CxKuB(  
      加载附加的国际化属性文件(不包含.properties后缀) Yw22z #K  
Kh"?%ZIa  
struts.custom.properties `uq8G  
      Location of additional configuration properties files to load A ;G;^s  
      加载附加的配置文件的位置 @d^Grm8E  
 jPC[_g  
Ot$-!Y;<  
struts.devMode TIx|L  
      Whether Struts is in development mode or not [=x[ w70  
      是否为struts开发模式 Jz?j[  
\(~y?l  
struts.dispatcher.parametersWorkaround v:EB*3n5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]O Z5 fd  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *w$W2I>b7  
O1rvaOlr  
struts.enable.DynamicMethodInvocation NWP5If|'X  
      Allows one to disable dynamic method invocation from the URL LnFdhrB@x  
        允许动态方法调用 214Ml0/%  
,ZKr .`B  
struts.freemarker.manager.classname D_?K"E=fw  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class MV! {j;g1<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 +cWLjPD/}  
&w4?)#  
struts.i18n.encoding `0rd26Qro  
      The encoding to use for localization messages 'QG xd!4  
      国际化信息内码 SIe="YG]<  
Y}@&h!  
struts.i18n.reload g(nPQOs$u  
      Whether the localization messages should automatically be reloaded 9Q -HeXvR  
      是否国际化信息自动加载 G=)i{oC  
+QB"8-  
struts.locale <i<J^-W  
      The default locale for the Struts application :KH g&ZX7  
      默认的国际化地区信息 \/E>4)MDy  
B*qi_{Gp  
struts.mapper.class |D'4uN8\  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lNNv|YiL  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 SEORSS  
S,D8F&bg  
struts.multipart.maxSize "lQ*1.i  
      The maximize size of a multipart request (file upload) Pl(Q,e7O]  
      multipart请求信息的最大尺寸(文件上传用) FRcy`)  
Twh!X*uQ  
struts.multipart.parser @)IjNplYkw  
      The org.apache.struts2.dispatcher.multipart. -T!f,g3vW  
      MultiPartRequest parser implementation for a multipart request (file upload) ~"dA~[r L  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4pe'06:  
R FKtr  
YW-usvl&  
struts.multipart.saveDir J`^ag'  
      The directory to use for storing uploaded files 2C2fGYu  
      设置存储上传文件的目录夹 ,9?BcD1  
ai}mOyJs  
struts.objectFactory 8][nmjk0  
      The com.opensymphony.xwork2.ObjectFactory implementation class X$%'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) XV!6dh!  
}{M#EP8q+  
struts.objectFactory.spring.autoWire kSC}aN'  
      Whether Spring should autoWire or not z,|r*\dw  
      是否自动绑定Spring bAsYv*t%r  
:s=NUw_^  
struts.objectFactory.spring.useClassCache .ELGWF`>  
      Whether Spring should use its class cache or not Usg K  
      是否spring应该使用自身的cache rMXN[,|v  
L9-h;] x!  
struts.objectTypeDeterminer tM2)k+fg  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class JROM_>mC  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?:Mr=]sD  
m[i+knYX  
struts.serve.static.browserCache YZP(tn  
If static content served by the Struts filter should set browser caching header properties or not QFfK0X8cC  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 & SiP\65N  
MRQ.`IoS  
struts.serve.static 9Kr+\F  
      Whether the Struts filter should serve static content or not 0?sRDYaX;c  
      是否struts过滤器应该提供静态内容 lT4Hn;tnN  
nJbtS#`G4  
struts.tag.altSyntax _4TH4~cY  
      Whether to use the alterative syntax for the tags or not qd+h$ "p  
      是否可以用替代的语法替代tags W>!_|[a  
ekI2icD  
struts.ui.templateDir A2^\q>_#  
      The directory containing UI templates Kqun^"Df  
      UI templates的目录夹  R=.4  
 zG+R5:  
struts.ui.theme 4!$s}V=6  
      The default UI template theme za#s/b$[  
      默认的UI template主题 U QE qX  
vQ<90Z xqB  
struts.url.http.port %509\;el  
      The HTTP port used by Struts URLs zs%Hb48V   
      设置http端口 vesJEaw7  
&-s'BT[PGq  
struts.url.https.port ?P4w]a  
      The HTTPS port used by Struts URLs 0ph{  
      设置https端口 .tkT<o-u<J  
 pnMEB,)  
struts.url.includeParams b:=TB0Fx?n  
      The default includeParams method to generate Struts URLs rI^zB mrr  
      在url中产生 默认的includeParams r~+\ Y"rM  
g wz7krUTe  
rX*H)3F  
struts.velocity.configfile ;g6M%;1-  
      The Velocity configuration file path dX\.t <  
      velocity配置文件路径 =PUt&`1.a  
j lp:lX  
struts.velocity.contexts u4m,'XR  
      List of Velocity context names 3:5 &Aa!  
      velocity的context列表 ";BlIovT=R  
*J$=.fF1  
$=5=NuX  
struts.velocity.manager.classname ;`l'2 z@N  
      org.apache.struts2.views.velocity.VelocityManager implementation class RE}?5XHb  
      org.apache.struts2.views.velocity.VelocityManager接口名 : m)   
Ib|Rf;J~-  
struts.velocity.toolboxlocation bB }$'  
      The location of the Velocity toolbox >:zK?(qu,N  
      velocity工具盒的位置 :}r.  
struts.xslt.nocache h tx;8:  
      Whether or not XSLT templates should not be cached f} Np/  
      是否XSLT模版应该被缓存  e`d%-9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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