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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )Uy%iE*  
]%HxzJ  
struts.action.extension 1n[)({OQ  
      The URL extension to use to determine if the request is meant for a Struts action 8.n#@%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T3@2e0u )  
_:=\h5}8  
struts.configuration HbI{Xf[6LP  
      The org.apache.struts2.config.Configuration implementation class ,;Wm>V)o  
        org.apache.struts2.config.Configuration接口名 vt2. i$u  
G<D8a2q  
struts.configuration.files hTzj{}w  
      A list of configuration files automatically loaded by Struts \<*F#3U1  
      struts自动加载的一个配置文件列表 (${ #l  
&K[sb%  
struts.configuration.xml.reload #~)A#~4O  
      Whether to reload the XML configuration or not _.Hj:nFHz  
      是否加载xml配置(true,false) 5X=1a*2']  
Zk((VZ(y  
struts.continuations.package R20 .dA_N  
      The package containing actions that use Rife continuations gBv!E9~l  
      含有actions的完整连续的package名称 [,,@>nyD  
$"W[e"Q  
struts.custom.i18n.resources ]tN)HRk1  
      Location of additional localization properties files to load N6"sXw m  
      加载附加的国际化属性文件(不包含.properties后缀) rzIWQFv  
@Kz,TP!%A  
struts.custom.properties qnboXGaFu  
      Location of additional configuration properties files to load ; F'IS/ttX  
      加载附加的配置文件的位置 gv>DOez/  
yuBRYy#E|%  
F:T(-,  
struts.devMode } &+]UGv  
      Whether Struts is in development mode or not V 97ORI  
      是否为struts开发模式 G=|?aK{p  
1F,U^O  
struts.dispatcher.parametersWorkaround Ig}hap]G  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5=I({=/>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) i/+^C($'f  
Os'E7;:1h  
struts.enable.DynamicMethodInvocation H=C~h\me?  
      Allows one to disable dynamic method invocation from the URL x-k-Pd  
        允许动态方法调用 .1RQ}Ro,<  
hdx_Tduue  
struts.freemarker.manager.classname 9 d a=q  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /y{: N  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 m(U.BXo  
&uRT/+18W3  
struts.i18n.encoding A;Y~Hu4KPZ  
      The encoding to use for localization messages <q!HY~"V  
      国际化信息内码 ,HTwEq>-G  
kD)31P  
struts.i18n.reload mMwV5\(  
      Whether the localization messages should automatically be reloaded pI-Qq%Nwt  
      是否国际化信息自动加载 x5uz$g  
X^N6s"2  
struts.locale xOKJOl  
      The default locale for the Struts application Z9$pY=8^?  
      默认的国际化地区信息 @2hhBW  
W9Azp8)p]  
struts.mapper.class lf>d{zd5  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 81x/ bx@L%  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >^Wpc  
>W] Wc4 \  
struts.multipart.maxSize \O"H#gt  
      The maximize size of a multipart request (file upload) m`-:j"]b$  
      multipart请求信息的最大尺寸(文件上传用) = K}Pfh  
PL&> p M  
struts.multipart.parser [-VH%OM  
      The org.apache.struts2.dispatcher.multipart. j!i* &  
      MultiPartRequest parser implementation for a multipart request (file upload) I F6$@Q  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8|)!E`TKSV  
g $Y]{VM.J  
:?zq!  
struts.multipart.saveDir G{fPQ=  
      The directory to use for storing uploaded files Z40k>t D  
      设置存储上传文件的目录夹 nc:/GxP  
0SYJ*7lPX  
struts.objectFactory S?JCi =  
      The com.opensymphony.xwork2.ObjectFactory implementation class KPO w  
      com.opensymphony.xwork2.ObjectFactory接口(spring) /kG?I_z  
rtz-kQ38R  
struts.objectFactory.spring.autoWire N.q~\sF^  
      Whether Spring should autoWire or not #)7`}7N  
      是否自动绑定Spring =@M9S  
z3i`O La  
struts.objectFactory.spring.useClassCache Yv]vl6<  
      Whether Spring should use its class cache or not DSRc4 |L  
      是否spring应该使用自身的cache 2WH(c$6PWf  
6AJ`)8HX  
struts.objectTypeDeterminer wE.jf.q  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1gK^x^l*f  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 P_0X+Tz  
Y QC.jnb2  
struts.serve.static.browserCache '6qH@r4Z<  
If static content served by the Struts filter should set browser caching header properties or not WuY#Kx~2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 U.SC,;N^  
,jC~U s<  
struts.serve.static )u Hat#  
      Whether the Struts filter should serve static content or not [>?|wQy>=  
      是否struts过滤器应该提供静态内容 ];Noe9o  
faRQj:R8  
struts.tag.altSyntax @-S7)h>~  
      Whether to use the alterative syntax for the tags or not :2c(.-[`  
      是否可以用替代的语法替代tags N\ Mdia  
4h!yh2c..  
struts.ui.templateDir A,EG0yb  
      The directory containing UI templates 8Gy]nD  
      UI templates的目录夹 @4*eH\3  
vzI>:Bf  
struts.ui.theme ,)xtl`fc  
      The default UI template theme Ne|CWUhO  
      默认的UI template主题 [DjlkA/Zg  
h\@X!Z,  
struts.url.http.port ;} Lf  
      The HTTP port used by Struts URLs u3 LoP_|  
      设置http端口 yO7H!}y_  
A2\hmp@A@7  
struts.url.https.port JJ)  
      The HTTPS port used by Struts URLs VO:  
      设置https端口 Cj~e` VRhk  
W895@  
struts.url.includeParams e"^WXP.t&  
      The default includeParams method to generate Struts URLs /'DAB**  
      在url中产生 默认的includeParams +sn0bi/rG  
v2]N5  
OCdX'HN5Y  
struts.velocity.configfile ;U?=YSHk7  
      The Velocity configuration file path 0AWxU?$A4  
      velocity配置文件路径 "B__a(  
}o!b3*#  
struts.velocity.contexts sYXLVJ>b  
      List of Velocity context names ?E!M%c@,  
      velocity的context列表 7CR#\&h`  
\ky oA Z  
2<J2#}+ \  
struts.velocity.manager.classname $bMmyDw  
      org.apache.struts2.views.velocity.VelocityManager implementation class dRzeHuF92  
      org.apache.struts2.views.velocity.VelocityManager接口名 SbUac<  
sqhIKw@  
struts.velocity.toolboxlocation <Ffru?o4j  
      The location of the Velocity toolbox 3 +'vNc  
      velocity工具盒的位置 Bj6%mI42hl  
struts.xslt.nocache fI;nVRf p  
      Whether or not XSLT templates should not be cached aj1g9 y  
      是否XSLT模版应该被缓存 "kcix!}&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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