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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -V/y~/]J  
msBoInhI  
struts.action.extension MzIDeZ  
      The URL extension to use to determine if the request is meant for a Struts action EN!C5/M{&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g,Ob/g8uc  
.q9Sg8G  
struts.configuration E>bkEm  
      The org.apache.struts2.config.Configuration implementation class 5whW>T  
        org.apache.struts2.config.Configuration接口名 pU7;!u:c4%  
v`A)GnNiN  
struts.configuration.files |OH*c3~r  
      A list of configuration files automatically loaded by Struts 0;bdwIP3  
      struts自动加载的一个配置文件列表 ,a #>e  
}dkXRce*  
struts.configuration.xml.reload B$ eM  
      Whether to reload the XML configuration or not ):$KM{X  
      是否加载xml配置(true,false) OcT Wq  
lVvcrU  
struts.continuations.package ^4n#''wJ  
      The package containing actions that use Rife continuations 46>rvy.r  
      含有actions的完整连续的package名称 zPaubqB  
CvU$Fsb  
struts.custom.i18n.resources `MI\/oM@  
      Location of additional localization properties files to load tbS hSbj  
      加载附加的国际化属性文件(不包含.properties后缀) Cn~VJ,l g  
LYD iqOrx  
struts.custom.properties 4 Ej->T.  
      Location of additional configuration properties files to load {`!6w>w0  
      加载附加的配置文件的位置 \3JCFor/  
;'S,JGpvT  
3FiK/8mu  
struts.devMode /vSGmW-*  
      Whether Struts is in development mode or not  d$$5&a  
      是否为struts开发模式 q} e#L6cM  
{=GmXd%D  
struts.dispatcher.parametersWorkaround !Cr3>tA  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :^)?AO#J  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) aopPv&jY  
1#d2 +J*  
struts.enable.DynamicMethodInvocation /e2zH  
      Allows one to disable dynamic method invocation from the URL _k@cs^  
        允许动态方法调用 |T<aWZb^=  
qO>UN[Y  
struts.freemarker.manager.classname Y#F.{ i  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7Eyi~jes  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 2I B{FO/  
p1UloG\  
struts.i18n.encoding a=MN:s?Fc0  
      The encoding to use for localization messages  0s;~9>  
      国际化信息内码 xS|9Gk  
_.s ,gX  
struts.i18n.reload Qt.*Z;Gs  
      Whether the localization messages should automatically be reloaded s5*4<VxQN.  
      是否国际化信息自动加载 `%Ih'(ne  
VIAq$iu7  
struts.locale EH844k8 p  
      The default locale for the Struts application mjD^iu8?  
      默认的国际化地区信息 _&-d0'+  
#}^waYAk)  
struts.mapper.class : @|Rj_S;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vMz|'-rm$  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ZXnacc~s  
h@ lz  
struts.multipart.maxSize cEL:5*cAU}  
      The maximize size of a multipart request (file upload) ]9YA~n\  
      multipart请求信息的最大尺寸(文件上传用) :E")Zw&sW3  
vkG#G]Qs";  
struts.multipart.parser E)*ht;u  
      The org.apache.struts2.dispatcher.multipart. 9lq5\ tL-  
      MultiPartRequest parser implementation for a multipart request (file upload) .YF1H<gwa  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !ZTghX}D  
Jqxd92 bI  
"1a;);S=*)  
struts.multipart.saveDir 7NvKp inQ  
      The directory to use for storing uploaded files gv67+Mf  
      设置存储上传文件的目录夹 `3\aX|4@  
("a@V8M`$F  
struts.objectFactory T_*inPf  
      The com.opensymphony.xwork2.ObjectFactory implementation class Tt: (l/1  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 2;Z 0pPR&  
r?DCR\Jq  
struts.objectFactory.spring.autoWire chICc</l&  
      Whether Spring should autoWire or not xNIrmqm5]  
      是否自动绑定Spring A+l(ew5Lw$  
cSPQ NYU:  
struts.objectFactory.spring.useClassCache FJ0I&FyWs  
      Whether Spring should use its class cache or not KYiJXE[Q-  
      是否spring应该使用自身的cache EDnNS  
@rGY9%E  
struts.objectTypeDeterminer &2W"4SE]6  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^Laqq%PI  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 e|k]te  
QT c{7&  
struts.serve.static.browserCache Wc@ ,#v  
If static content served by the Struts filter should set browser caching header properties or not kZ5#a)U<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 T";evM66  
sK#) k\w>  
struts.serve.static ST{Vi';}  
      Whether the Struts filter should serve static content or not c0o]O[  
      是否struts过滤器应该提供静态内容 s*rR> D:  
WOn53|GQK  
struts.tag.altSyntax }ktIG|GC  
      Whether to use the alterative syntax for the tags or not 6w<rSUd'  
      是否可以用替代的语法替代tags Tx} Nr^   
r)gK5Mv  
struts.ui.templateDir y,:WLk~  
      The directory containing UI templates icb)JZ1K  
      UI templates的目录夹 4M&$wi  
a#]V|1*O  
struts.ui.theme 5 tKgm/  
      The default UI template theme O|t>.<T?  
      默认的UI template主题 IR${a)  
aL:|Dr3SX  
struts.url.http.port $I9&cNPv  
      The HTTP port used by Struts URLs Cf(WO-F^  
      设置http端口 !yv>e7g^  
cAN!5?D\  
struts.url.https.port :E-$:\V0}k  
      The HTTPS port used by Struts URLs xn`)I>v  
      设置https端口 d92Z;FWb  
}-fHS;/  
struts.url.includeParams BWxfY^,'&6  
      The default includeParams method to generate Struts URLs O7 ;=g!j  
      在url中产生 默认的includeParams +6uf6&.@~  
)h@PRDI_  
/xUF@%rT  
struts.velocity.configfile o9}\vN0F  
      The Velocity configuration file path {}s/p9F4  
      velocity配置文件路径 A l?%[-u  
AE:(:U\  
struts.velocity.contexts iZG-ca  
      List of Velocity context names g-K;J4 K%  
      velocity的context列表 U,!qNi}  
]EHsRd  
q0 }u%Yz  
struts.velocity.manager.classname =@d#@  
      org.apache.struts2.views.velocity.VelocityManager implementation class y#a,d||N1  
      org.apache.struts2.views.velocity.VelocityManager接口名 n#6{K6}k~  
PE5*]+lW.  
struts.velocity.toolboxlocation .F,l>wUNe  
      The location of the Velocity toolbox zg ,=A?  
      velocity工具盒的位置 "SN*hzs"]`  
struts.xslt.nocache <r,5F:  
      Whether or not XSLT templates should not be cached +.~K=.O)  
      是否XSLT模版应该被缓存 6CFnE7TQf  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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