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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 n| !@1sd  
-~f511<  
struts.action.extension `RRE(SiKU  
      The URL extension to use to determine if the request is meant for a Struts action R=j% S!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 BHFY%6J!  
f2I6!_C!+  
struts.configuration myFAKRc  
      The org.apache.struts2.config.Configuration implementation class v}JD2.O+  
        org.apache.struts2.config.Configuration接口名 cQj-+Tmu  
+/{L#e>   
struts.configuration.files H1:be.^YP  
      A list of configuration files automatically loaded by Struts 6i@\5}m=  
      struts自动加载的一个配置文件列表 Vy<HA*  
xG2F!WeF  
struts.configuration.xml.reload o :q1beU  
      Whether to reload the XML configuration or not t ~7V { xk  
      是否加载xml配置(true,false) T(?HMyg3  
bO5k6i  
struts.continuations.package Ddju~510  
      The package containing actions that use Rife continuations 25y6a|`  
      含有actions的完整连续的package名称 Ucw yxX I  
@Yw,nQE)b  
struts.custom.i18n.resources VR{+f7:}  
      Location of additional localization properties files to load oFsM6+\/S  
      加载附加的国际化属性文件(不包含.properties后缀) tiPa6tQ  
'])2k@o@  
struts.custom.properties O\KQl0*l\\  
      Location of additional configuration properties files to load F/c$v  
      加载附加的配置文件的位置 sJx+8 -  
&[mZD,  
0C%W&;r0  
struts.devMode AV8T  
      Whether Struts is in development mode or not |Hr:S":9  
      是否为struts开发模式 o]n!(f<(*  
g| <wyt[  
struts.dispatcher.parametersWorkaround YGvUwj'2a  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic R<ND=[}s  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Bf`9V713  
 u6u=2  
struts.enable.DynamicMethodInvocation w~R`D  
      Allows one to disable dynamic method invocation from the URL 07g':QU@  
        允许动态方法调用 [4&#*@  
!5@_j,lW(  
struts.freemarker.manager.classname Os%n{_#8  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class VhGs/5  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =DbY?Q<Q  
`/&SxQB<  
struts.i18n.encoding Z;Rp+ X  
      The encoding to use for localization messages pv!oz2w1  
      国际化信息内码 [%A4]QzWh  
?(6mVyIe  
struts.i18n.reload U:6W+p8  
      Whether the localization messages should automatically be reloaded 5+Mdh`  
      是否国际化信息自动加载 d&8APe  
tMx}*l|]  
struts.locale Q;Wj?8}  
      The default locale for the Struts application V&]DzjT/  
      默认的国际化地区信息 pE.PX 8  
-5l6&Y   
struts.mapper.class |C%Pjl^YkV  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Scm36sT{  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 J T# d(Y  
&hIRd,1#  
struts.multipart.maxSize M6r^L6$N  
      The maximize size of a multipart request (file upload) <+#o BN  
      multipart请求信息的最大尺寸(文件上传用) kUx&pYv  
8e~|.wOL  
struts.multipart.parser g?v\!/~(u  
      The org.apache.struts2.dispatcher.multipart. ?jQ](i&  
      MultiPartRequest parser implementation for a multipart request (file upload) V! |qYM.  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) >kZ57,  
qB]i6*  
^E`(*J/o  
struts.multipart.saveDir fQK"h  
      The directory to use for storing uploaded files -~" :f8  
      设置存储上传文件的目录夹 nR>r2wMk@  
jVgFZ,  
struts.objectFactory X6+qpp  
      The com.opensymphony.xwork2.ObjectFactory implementation class VQI(Vp|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) =VLS/\A  
{Hmo1|_S|  
struts.objectFactory.spring.autoWire yqXH:757~  
      Whether Spring should autoWire or not f ).1]~  
      是否自动绑定Spring )py{\r9X  
[L $9p@I  
struts.objectFactory.spring.useClassCache h4pTq[4*  
      Whether Spring should use its class cache or not 'V+dBt3  
      是否spring应该使用自身的cache ^ &/G|  
jDM w2#<  
struts.objectTypeDeterminer I:V0Xxz5t  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]&~]#vB#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >evS} O6  
l%R50aL  
struts.serve.static.browserCache R =Ws#'  
If static content served by the Struts filter should set browser caching header properties or not Nr<`Z  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 @.$Xv>Jt$  
{ x0t  
struts.serve.static 6C4'BCYW(  
      Whether the Struts filter should serve static content or not L%}zVCg  
      是否struts过滤器应该提供静态内容 ; |/leu8  
e}VBRvr  
struts.tag.altSyntax u,3,ck!B>@  
      Whether to use the alterative syntax for the tags or not ^taBG3P  
      是否可以用替代的语法替代tags |IoB?^_h  
juF{}J2  
struts.ui.templateDir |]Z:&[D]i  
      The directory containing UI templates D'l5Zd  
      UI templates的目录夹 YKbCdLQ  
j/T>2|dA&  
struts.ui.theme 8n BL\{'B[  
      The default UI template theme Ioy  
      默认的UI template主题 4Tc&IwR  
L\{IljA  
struts.url.http.port Lj\/Ji_  
      The HTTP port used by Struts URLs ik|-L8  
      设置http端口 g[>\4B9t  
$ N']TN  
struts.url.https.port "N:XzG  
      The HTTPS port used by Struts URLs lJP1XzN_  
      设置https端口 @;xMs8@  
yL^UE=#C_  
struts.url.includeParams ?;YC'bF  
      The default includeParams method to generate Struts URLs @pI5lh  
      在url中产生 默认的includeParams CxhY$%C (L  
F["wD O  
SjjIr ^  
struts.velocity.configfile *{undZ?(>  
      The Velocity configuration file path `u!l3VZ/4  
      velocity配置文件路径 5m=I*.qE  
MC((M,3L  
struts.velocity.contexts K'iIJA*Sn  
      List of Velocity context names b?4/#&z]  
      velocity的context列表 M}_ i52  
Kz<@x`0   
8By,#T".  
struts.velocity.manager.classname &Lt[WT$  
      org.apache.struts2.views.velocity.VelocityManager implementation class LIU} a5  
      org.apache.struts2.views.velocity.VelocityManager接口名 \7MHaQvS   
GBFw+v/|4  
struts.velocity.toolboxlocation &AuF]VT  
      The location of the Velocity toolbox S|rgCh!h  
      velocity工具盒的位置 Dlo xrdOY&  
struts.xslt.nocache 6ZgU"!|r  
      Whether or not XSLT templates should not be cached cr?7O;,  
      是否XSLT模版应该被缓存 to8X=80-3  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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