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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %@! Vx  
NVnKgGlHgd  
struts.action.extension /HNZwbh]uJ  
      The URL extension to use to determine if the request is meant for a Struts action "9[K  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >4d2IO1\  
y*M,&,$  
struts.configuration Q<L.!%vu}  
      The org.apache.struts2.config.Configuration implementation class Ne]/ sQ0  
        org.apache.struts2.config.Configuration接口名 {-rK:*yP'u  
-=E/_c;  
struts.configuration.files yG0Wr=/<?  
      A list of configuration files automatically loaded by Struts mI=^7 'Mk  
      struts自动加载的一个配置文件列表 b'$j* N  
yaf&SR@7k{  
struts.configuration.xml.reload @1 #$  
      Whether to reload the XML configuration or not *JG?^G"l  
      是否加载xml配置(true,false) 6e@ O88=  
^g,[#Rh  
struts.continuations.package cU25]V^{\  
      The package containing actions that use Rife continuations 5 TD"  
      含有actions的完整连续的package名称 j$*]'s&_hZ  
-Uz xs5Zl  
struts.custom.i18n.resources 1K'0ajl1A  
      Location of additional localization properties files to load h^P>pI~  
      加载附加的国际化属性文件(不包含.properties后缀) %PG::b  
y(:hN)  
struts.custom.properties `4cs.ab  
      Location of additional configuration properties files to load r'hr 'wZ  
      加载附加的配置文件的位置 #R|M(Z">q  
`h M:U  
'f`~"@  
struts.devMode L%a ni}V  
      Whether Struts is in development mode or not NDB]8C  
      是否为struts开发模式 yZ,k8TJ",  
`n:IXD5'  
struts.dispatcher.parametersWorkaround ,{c9Lv%@J  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #VC^><)3  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (ju-r*0  
RR:m <9l  
struts.enable.DynamicMethodInvocation J+&AtGq]u  
      Allows one to disable dynamic method invocation from the URL J p .wg  
        允许动态方法调用 CF^7 {g(y_  
t8s1d  
struts.freemarker.manager.classname l)z15e5X  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Q8M&nf  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 %^"Tz,f  
IxCEE5+`%  
struts.i18n.encoding .i/]1X*;r^  
      The encoding to use for localization messages lN+NhPF  
      国际化信息内码 i^uC4S~  
 zUqiz  
struts.i18n.reload JRA.,tQc  
      Whether the localization messages should automatically be reloaded _]tR1T5e  
      是否国际化信息自动加载 .jr1<LE  
>qx~m>2|8]  
struts.locale g\ @nA4  
      The default locale for the Struts application n/s!S &  
      默认的国际化地区信息 *6Rl[eXS  
'N5qX>Ob  
struts.mapper.class 1 X2oz  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class m7kDxs(KO  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 U:MkA(S%c  
<_ */  
struts.multipart.maxSize aQN`C {nY  
      The maximize size of a multipart request (file upload) #rV=!j||  
      multipart请求信息的最大尺寸(文件上传用) @DkPJla&  
ok'0Byo  
struts.multipart.parser _OcgD<  
      The org.apache.struts2.dispatcher.multipart. }QncTw0  
      MultiPartRequest parser implementation for a multipart request (file upload) 5"y p|Yl  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) svyC(m)'  
K4n1#]8i  
&tD`~  
struts.multipart.saveDir ?9!tMRb  
      The directory to use for storing uploaded files ]Vl5v5_  
      设置存储上传文件的目录夹 Ats"iV  
g$dL5N7  
struts.objectFactory Ph]e\  
      The com.opensymphony.xwork2.ObjectFactory implementation class $Miii`VS9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $EviGZFAaR  
~<v.WP<:  
struts.objectFactory.spring.autoWire wXZ.D}d  
      Whether Spring should autoWire or not ]rn!+z  
      是否自动绑定Spring lIzJO$8cM  
[p!C+ |rro  
struts.objectFactory.spring.useClassCache A i9*w?C  
      Whether Spring should use its class cache or not K;6K!6J:[  
      是否spring应该使用自身的cache #Opfc8pm'  
FPMhHHM  
struts.objectTypeDeterminer AXPUJ?V  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qvYYKu  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~c?yHpZx%  
~uC4>+dk  
struts.serve.static.browserCache /l+x&xYD  
If static content served by the Struts filter should set browser caching header properties or not 92Ar0j]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 M|d[iaM,  
8)"KPr63M  
struts.serve.static S;ulJ*qv  
      Whether the Struts filter should serve static content or not #A]7cMZ'W  
      是否struts过滤器应该提供静态内容 b daZ{5^{  
gSR&CnqZ<  
struts.tag.altSyntax dhK$ XG  
      Whether to use the alterative syntax for the tags or not a4`@z:l  
      是否可以用替代的语法替代tags _5U Fml9  
bvG").8$  
struts.ui.templateDir &v4w3'@1  
      The directory containing UI templates gyCb\y+\a  
      UI templates的目录夹 $o]zNW;X  
^ ?tAt3dMI  
struts.ui.theme W]2;5 `MM  
      The default UI template theme nQ$N(2<Fe  
      默认的UI template主题 i'e^[oZ  
;\<?LTp/r  
struts.url.http.port Q^MB%L;D  
      The HTTP port used by Struts URLs c_ygwO3.Q  
      设置http端口 }lpcbm  
[po+a@ %  
struts.url.https.port kOdS^-  
      The HTTPS port used by Struts URLs =53LapTPJ  
      设置https端口 3<mv9U(  
\|62E):i1  
struts.url.includeParams _"0n.JQg  
      The default includeParams method to generate Struts URLs oSa FmP  
      在url中产生 默认的includeParams |!!E5osXq  
/mD KQ<  
(sqS(xIY  
struts.velocity.configfile )&dhE^ O  
      The Velocity configuration file path d}l^yln  
      velocity配置文件路径 cC}s5`  
@bqCs^U35  
struts.velocity.contexts huKz["]z[  
      List of Velocity context names p*npY"}v  
      velocity的context列表 YSa:"A  
"BFW&<1  
'|XP}V0I  
struts.velocity.manager.classname e/Q[%y.X  
      org.apache.struts2.views.velocity.VelocityManager implementation class Uw&+zJ  
      org.apache.struts2.views.velocity.VelocityManager接口名 <q[ *kr  
!zJ.rYZ=g`  
struts.velocity.toolboxlocation ~-:CN(U  
      The location of the Velocity toolbox &PgdCijGq;  
      velocity工具盒的位置  v$tS 2N2  
struts.xslt.nocache #[KwR\b{:+  
      Whether or not XSLT templates should not be cached :X4\4B*~  
      是否XSLT模版应该被缓存 M9&tys[KX  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五