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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Sv|jR r'  
A&($X)t  
struts.action.extension k5]`:k6  
      The URL extension to use to determine if the request is meant for a Struts action G}p* oz~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 jp P'{mc  
=@0/.oSD  
struts.configuration \}+b_J6-  
      The org.apache.struts2.config.Configuration implementation class .z&,d&E  
        org.apache.struts2.config.Configuration接口名 L&h90Az1W  
AWn$od`#s  
struts.configuration.files o<nkK+=Afm  
      A list of configuration files automatically loaded by Struts =hDFpb,mr  
      struts自动加载的一个配置文件列表 $g!~T!p=  
xO2CgqEb  
struts.configuration.xml.reload VLs%;|`5D  
      Whether to reload the XML configuration or not M|uWSG  
      是否加载xml配置(true,false) xRPU GGv  
"`8~qZ7k  
struts.continuations.package JN:EcVuy  
      The package containing actions that use Rife continuations T9=55tpG9  
      含有actions的完整连续的package名称 :ZP`Y%dt'  
m03]SF(#3  
struts.custom.i18n.resources %q)*8  
      Location of additional localization properties files to load P{_Xg,Z  
      加载附加的国际化属性文件(不包含.properties后缀) 47 *,  
>xJh!w<pB  
struts.custom.properties Ec;{N  
      Location of additional configuration properties files to load [[ ;vZ  
      加载附加的配置文件的位置 `' "125T  
[W{WfJ-HwG  
{Wp5Ane  
struts.devMode "J(W)\  
      Whether Struts is in development mode or not ej9|Y5D"S  
      是否为struts开发模式 Zbobi,  
d0MF\yxh  
struts.dispatcher.parametersWorkaround B>"O~ gZ{#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &]mZp&  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $^;b 1bnO  
(#`1[n+b`x  
struts.enable.DynamicMethodInvocation KaGG4?=V  
      Allows one to disable dynamic method invocation from the URL j9G1  _  
        允许动态方法调用 xesZ 7{ o  
{D9m>B3"{  
struts.freemarker.manager.classname e;ej/)no`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class mz kv/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 FJl_2  
2IGoAt>V  
struts.i18n.encoding A:-r 2;xB  
      The encoding to use for localization messages c Oi:bC@  
      国际化信息内码 d}`Z| ex  
=A< Fcl\Rz  
struts.i18n.reload t'pY~a9F  
      Whether the localization messages should automatically be reloaded G$)f5_]7{  
      是否国际化信息自动加载 9X-w5$<  
Sl RQi:  
struts.locale byW9]('e  
      The default locale for the Struts application eumpNF%$  
      默认的国际化地区信息 l,n V*Z  
i G%h-  
struts.mapper.class &+v!mw>  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class WK<:(vu.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 wVms"U.  
SL O~   
struts.multipart.maxSize iE;D_m.>`O  
      The maximize size of a multipart request (file upload) m\hzQ9  
      multipart请求信息的最大尺寸(文件上传用) /P>t3E2c  
)=vQrMyB  
struts.multipart.parser wcI? .  
      The org.apache.struts2.dispatcher.multipart. zc n/LF  
      MultiPartRequest parser implementation for a multipart request (file upload) C=&rPUX{  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }+{ ? Ms  
E9"P~ nz  
^DW vzfj  
struts.multipart.saveDir PS=N]e7k'  
      The directory to use for storing uploaded files \=yWJ  
      设置存储上传文件的目录夹 bz1+AJG  
V4.&"0\n#  
struts.objectFactory oXxY$x*R1  
      The com.opensymphony.xwork2.ObjectFactory implementation class aGR!T{`   
      com.opensymphony.xwork2.ObjectFactory接口(spring) jrl'?`O  
BsJ d*-:X  
struts.objectFactory.spring.autoWire  KDX1_r=Y  
      Whether Spring should autoWire or not Gz,?e]ZV  
      是否自动绑定Spring ~g|Z6-?4Jj  
0S%xm'|N  
struts.objectFactory.spring.useClassCache BIk0n;Kz<L  
      Whether Spring should use its class cache or not 8?za&v  
      是否spring应该使用自身的cache Jx jP'8  
x/B1\U I  
struts.objectTypeDeterminer j+9;Cp]NV  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \{8?HjJEM  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $\w<.)"#  
5OR2\h!XZt  
struts.serve.static.browserCache b5@sG^  
If static content served by the Struts filter should set browser caching header properties or not &qjc+-r{l  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 s<XAH7?0  
RnaxRnXVR  
struts.serve.static !<8-juY  
      Whether the Struts filter should serve static content or not 0|J]EsPxu  
      是否struts过滤器应该提供静态内容 V4 `  
c;13V(Djy  
struts.tag.altSyntax aob+_9o  
      Whether to use the alterative syntax for the tags or not ^vHh*Ub  
      是否可以用替代的语法替代tags -91*VBrOd  
b4R;#rm  
struts.ui.templateDir X7g@.Oy`  
      The directory containing UI templates k Xg&}n7  
      UI templates的目录夹 @7? O#WmL  
F4*ssx  
struts.ui.theme HVHd@#pDZ  
      The default UI template theme %4QpDt  
      默认的UI template主题 L7`=ec<  
1 O?bT,"b  
struts.url.http.port j%`% DQ  
      The HTTP port used by Struts URLs hE;|VSdo  
      设置http端口 F%tV^$%  
(B^rW,V[R  
struts.url.https.port j6:jN-z  
      The HTTPS port used by Struts URLs f|'0FI  
      设置https端口 E~y( @72)  
{44#<A<  
struts.url.includeParams rHa*WA;TE  
      The default includeParams method to generate Struts URLs E Xxv  
      在url中产生 默认的includeParams Due@ '  
t+ vz=`  
fjd)/Gg  
struts.velocity.configfile 8-PHW,1@a3  
      The Velocity configuration file path sW,JnR  
      velocity配置文件路径 4o<rj4G>  
k.ttrKy<q/  
struts.velocity.contexts r,HIoeAKP  
      List of Velocity context names 'N3)>!Y:8  
      velocity的context列表 VTwDa*]AhB  
^)UX#D3b  
8CUlE-R5  
struts.velocity.manager.classname {[)n<.n[g  
      org.apache.struts2.views.velocity.VelocityManager implementation class bn%4s[CVb4  
      org.apache.struts2.views.velocity.VelocityManager接口名 Ii&\LJ  
kW7$Gw]-  
struts.velocity.toolboxlocation ueyQ&+6r  
      The location of the Velocity toolbox 1{A K=H')  
      velocity工具盒的位置 !<3!ORFO  
struts.xslt.nocache Y:R*AOx  
      Whether or not XSLT templates should not be cached cN-$;Ent  
      是否XSLT模版应该被缓存 !pZ<{|cH  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八