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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 1+~JGY#   
e^&QT  
struts.action.extension +0rMv  
      The URL extension to use to determine if the request is meant for a Struts action dIQ7u  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6F6[w?   
l+Dl~o}  
struts.configuration 7}OzTup  
      The org.apache.struts2.config.Configuration implementation class bj\v0NKN4  
        org.apache.struts2.config.Configuration接口名  7?-eR-  
blNE$X+0|  
struts.configuration.files $e& ( ncM  
      A list of configuration files automatically loaded by Struts l>`N+ pZ$  
      struts自动加载的一个配置文件列表 R $HI JM  
j/4N  
struts.configuration.xml.reload )8kcOBG^L  
      Whether to reload the XML configuration or not }YW0?-G.$  
      是否加载xml配置(true,false) ,Dfq%~:grT  
E1IRb':  
struts.continuations.package A ${b]  
      The package containing actions that use Rife continuations kq6S`~J^R  
      含有actions的完整连续的package名称 D M(WYL{  
_P 0,UgZz  
struts.custom.i18n.resources F, Y@  
      Location of additional localization properties files to load +Mc kR  
      加载附加的国际化属性文件(不包含.properties后缀) vpcHJ^19  
wUWSW<  
struts.custom.properties P*oKcq1R  
      Location of additional configuration properties files to load gYVk5d|8@4  
      加载附加的配置文件的位置 GE]fBg  
#/$}zl  
["- pylhK  
struts.devMode ;j])h !8X  
      Whether Struts is in development mode or not k@JDG]R<{  
      是否为struts开发模式 Mez;DKJ`  
&dF$:$'s  
struts.dispatcher.parametersWorkaround Rn~FCj,-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5W"nn  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) mA}-hR%  
^29w @*  
struts.enable.DynamicMethodInvocation i/9QOw~  
      Allows one to disable dynamic method invocation from the URL j2# nCU54Z  
        允许动态方法调用 :#0uy1h  
u3vBMe0v[  
struts.freemarker.manager.classname Nr=ud QA{  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;v'7l>w3\w  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 .CdaOWM7  
4J0{$Xuu 0  
struts.i18n.encoding ?P@fV'Jo  
      The encoding to use for localization messages ztf VXmi'  
      国际化信息内码 C`+g:qT  
XIh2Y\33ys  
struts.i18n.reload vn|u&}h  
      Whether the localization messages should automatically be reloaded drP2% u  
      是否国际化信息自动加载 Yr5A,-s  
+]uW|owxo  
struts.locale LuY`mi  
      The default locale for the Struts application ?Y+xuY/t  
      默认的国际化地区信息 jK/2n}q&]  
H1_XEcaM+*  
struts.mapper.class s|rlpd4y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class z!;n\CV@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8*kZ.-T B  
!|_b}/  
struts.multipart.maxSize *cx mQ  
      The maximize size of a multipart request (file upload) tt%Zwf  
      multipart请求信息的最大尺寸(文件上传用) q4{Pm $OW  
# eqt{  
struts.multipart.parser vl*CU"4  
      The org.apache.struts2.dispatcher.multipart. RR!(,j^M  
      MultiPartRequest parser implementation for a multipart request (file upload) '$pT:4EuGq  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `}.K@17  
h=SQ]nV{  
1MHP#X;|  
struts.multipart.saveDir m6^Ua  
      The directory to use for storing uploaded files X).UvPZ/  
      设置存储上传文件的目录夹 35z]pn%L  
w]GoeIg({  
struts.objectFactory yi<&'L;   
      The com.opensymphony.xwork2.ObjectFactory implementation class r \H+=2E'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Uov%12  
Mm`jk%:%]  
struts.objectFactory.spring.autoWire au7%K5  
      Whether Spring should autoWire or not . +> w0FG.  
      是否自动绑定Spring g]85[xz  
)hm U/E@  
struts.objectFactory.spring.useClassCache geU-T\1[l  
      Whether Spring should use its class cache or not i3t=4[~oL  
      是否spring应该使用自身的cache LSb3w/3M  
{PgB~|W  
struts.objectTypeDeterminer r) Ts(#Z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }Uki)3(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 r|4jR6%<'m  
BM=`zGh"  
struts.serve.static.browserCache t^ L XGQ  
If static content served by the Struts filter should set browser caching header properties or not c_c]0Tm  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;tTM3W-h  
,!t1( H  
struts.serve.static B04%4N.g"X  
      Whether the Struts filter should serve static content or not K y~ 9's  
      是否struts过滤器应该提供静态内容 UgDai?b1  
-q' np0H  
struts.tag.altSyntax jUtrFl  
      Whether to use the alterative syntax for the tags or not (1H_V(  
      是否可以用替代的语法替代tags 9 \i;zpN\  
%F-/|x1#Q  
struts.ui.templateDir TEz)d=  
      The directory containing UI templates 1rh\X[@  
      UI templates的目录夹 c nvxTI<  
*zeY<6  
struts.ui.theme /tRzb8`  
      The default UI template theme n4\6\0jq6  
      默认的UI template主题 R9&T0Qf  
9UTWq7KJ  
struts.url.http.port Je_Hj9#M\d  
      The HTTP port used by Struts URLs ,OWdp<z  
      设置http端口 y_J~n 9R  
*bRer[7y  
struts.url.https.port b9ysxuUdS  
      The HTTPS port used by Struts URLs Sxf|gDC  
      设置https端口 !e@G[%k  
rubqk4  
struts.url.includeParams }'$6EgX  
      The default includeParams method to generate Struts URLs I8HUH* |)n  
      在url中产生 默认的includeParams {:m5<6?x)  
dVc;Tt  
uA=6 HpDB  
struts.velocity.configfile oc' #sE  
      The Velocity configuration file path HRIf)n&~f  
      velocity配置文件路径 .O @bX)  
G}ElQD  
struts.velocity.contexts `%AFKmc^;  
      List of Velocity context names |57KTiiNLI  
      velocity的context列表 qY\zZ  
zk5sAHQ  
@z"Zj 3ti  
struts.velocity.manager.classname ^ L'8:  
      org.apache.struts2.views.velocity.VelocityManager implementation class h95C4jBE  
      org.apache.struts2.views.velocity.VelocityManager接口名 o_/C9[:  
SF+ ^dPwj  
struts.velocity.toolboxlocation ka{9{/dz3  
      The location of the Velocity toolbox "L@qjSs8  
      velocity工具盒的位置 3~6F`G  
struts.xslt.nocache ;=: R|  
      Whether or not XSLT templates should not be cached *E0+!  
      是否XSLT模版应该被缓存 hR b k-b  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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