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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  z@^l1)m  
cOth q87:  
struts.action.extension a1B_w#?8  
      The URL extension to use to determine if the request is meant for a Struts action 0n|op:]BHM  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 bN@V=C3  
ZkkXITQkPM  
struts.configuration wX" 6 S:  
      The org.apache.struts2.config.Configuration implementation class 5zX;/n~  
        org.apache.struts2.config.Configuration接口名 /i$E|[  
&aldnJ  
struts.configuration.files /pZLt)=P  
      A list of configuration files automatically loaded by Struts gX5I`mm  
      struts自动加载的一个配置文件列表 kehv85  
<7/_Vs)F0  
struts.configuration.xml.reload xWD=",0+  
      Whether to reload the XML configuration or not wj9CL1Gx  
      是否加载xml配置(true,false) V}=9S@$o  
Id(o6j^J_  
struts.continuations.package =xWZJ:UnU  
      The package containing actions that use Rife continuations UMuqdLaT9  
      含有actions的完整连续的package名称 8P0XY S@  
~mx me6"v  
struts.custom.i18n.resources 1+v&SU  
      Location of additional localization properties files to load N\1!)b  
      加载附加的国际化属性文件(不包含.properties后缀) Tk9u+;=6$  
y!;rY1  
struts.custom.properties $R%xeih1fz  
      Location of additional configuration properties files to load [WnX'R R  
      加载附加的配置文件的位置 $&Ng*oX  
}:7'C. ."  
?2_Oa%M  
struts.devMode -mOSB(#bo  
      Whether Struts is in development mode or not A9ia[2[  
      是否为struts开发模式 O E0w/{  
T>e!DOW;  
struts.dispatcher.parametersWorkaround =0TnH<`  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic QpwOrxI}  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) r5> FU>7'  
oE[wOq +  
struts.enable.DynamicMethodInvocation p<*3mbgGO  
      Allows one to disable dynamic method invocation from the URL -gefdx6ES  
        允许动态方法调用 E8zga )  
&duWV6Acw  
struts.freemarker.manager.classname wd2GKq!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (wU<Kpt?J  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 I?LJXo\O  
Nl,M9  
struts.i18n.encoding trcG^uV  
      The encoding to use for localization messages T_|%n F-+  
      国际化信息内码 MWl?pG!Y  
2W:R{dHE  
struts.i18n.reload J^8(h R  
      Whether the localization messages should automatically be reloaded z %{Z  
      是否国际化信息自动加载 -U~]Bugvh  
{m~.'DU  
struts.locale O*xC}$OOn  
      The default locale for the Struts application 5wYYYo=  
      默认的国际化地区信息 b<>GF-`w  
M3ihtY  
struts.mapper.class ~=91Kxf  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class cih@: =Qy  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <0T5W#H`D  
=(:{>tO_"  
struts.multipart.maxSize G66sP w  
      The maximize size of a multipart request (file upload) huFT_z_;;  
      multipart请求信息的最大尺寸(文件上传用) 9o5W\.A7[D  
JoeU J3N  
struts.multipart.parser a,g3 /  
      The org.apache.struts2.dispatcher.multipart. l]t9*a]a  
      MultiPartRequest parser implementation for a multipart request (file upload) Tlc3l}B*Z  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7Mq4$|qhD  
TP7'tb  
4.il4Qqy}i  
struts.multipart.saveDir j06?Mm_c2  
      The directory to use for storing uploaded files 4g<F."  
      设置存储上传文件的目录夹 " !43,!<  
+@*}_%^l"  
struts.objectFactory X,-QxV=lc)  
      The com.opensymphony.xwork2.ObjectFactory implementation class  mG4$  
      com.opensymphony.xwork2.ObjectFactory接口(spring) XJJdCv^  
ZslH2#   
struts.objectFactory.spring.autoWire {6H%4n  
      Whether Spring should autoWire or not lO=+V 6  
      是否自动绑定Spring 8 Z|c!QIU  
4#hDt^N~  
struts.objectFactory.spring.useClassCache _ nFsC  
      Whether Spring should use its class cache or not \i1>/`F  
      是否spring应该使用自身的cache lS1-e0,h1  
R-odc,P=  
struts.objectTypeDeterminer L(Ww6oj  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class O`Ht|@[6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 CUJP"u>8M  
:eIPPh|\  
struts.serve.static.browserCache &XG k  
If static content served by the Struts filter should set browser caching header properties or not kkWqP20q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w&&uk[Gh/a  
S}fU2Wi  
struts.serve.static QY14N{]T\p  
      Whether the Struts filter should serve static content or not >6 p <n  
      是否struts过滤器应该提供静态内容 0LI:R'P+P[  
2K >tI9);  
struts.tag.altSyntax F:$Dz?F0v  
      Whether to use the alterative syntax for the tags or not 'zYKG5A  
      是否可以用替代的语法替代tags "V/|RC  
j5hM |\]  
struts.ui.templateDir Mou@G3  
      The directory containing UI templates +Smt8O<N  
      UI templates的目录夹 Q2^~^'Y k  
YA(_*h  
struts.ui.theme <(|No3jx  
      The default UI template theme }m '= _u  
      默认的UI template主题 oh%kuO T[  
$E=t6WvA  
struts.url.http.port aJh=4j~.  
      The HTTP port used by Struts URLs x0t&hY>P!  
      设置http端口 [s1Hd~$  
>| d^  
struts.url.https.port +a'QHtg  
      The HTTPS port used by Struts URLs D+$k  
      设置https端口 kk`BwRh)d;  
-KzU''  
struts.url.includeParams /cmnX'z  
      The default includeParams method to generate Struts URLs  $^&SEz  
      在url中产生 默认的includeParams q\ihye  
!sF! (u7  
<9za!.(zu  
struts.velocity.configfile OBF3)L]  
      The Velocity configuration file path }h+_kRQ  
      velocity配置文件路径 [,GXA)j  
p)  x.Y  
struts.velocity.contexts q;I`&JK  
      List of Velocity context names sy^k:y?  
      velocity的context列表 8mjP2  
iU)-YFO  
D+ki2UVt&  
struts.velocity.manager.classname  84PD`A  
      org.apache.struts2.views.velocity.VelocityManager implementation class >v4k_JX  
      org.apache.struts2.views.velocity.VelocityManager接口名 GPqF>   
# Sm M5%  
struts.velocity.toolboxlocation ~cE;k@  
      The location of the Velocity toolbox 3J\NkaSR  
      velocity工具盒的位置 ^RN1?dXA  
struts.xslt.nocache 7ko7)"N  
      Whether or not XSLT templates should not be cached *%0f^~!G<p  
      是否XSLT模版应该被缓存 A<6V$e$:2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八