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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _@>*]g  
?9{^gW4|  
struts.action.extension el5Pe{j '  
      The URL extension to use to determine if the request is meant for a Struts action ^V;r  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 %!Eh9C*  
d)uuA;n  
struts.configuration ZVH 9je  
      The org.apache.struts2.config.Configuration implementation class )x\%*ewY  
        org.apache.struts2.config.Configuration接口名 Xk|a%%O*H  
i/_rz.c~3  
struts.configuration.files f91]0B `C  
      A list of configuration files automatically loaded by Struts >mA]2gV<a  
      struts自动加载的一个配置文件列表 @ xo8"kl  
}bw^p.ci  
struts.configuration.xml.reload Te}gmt+#%  
      Whether to reload the XML configuration or not 16Ka>=G  
      是否加载xml配置(true,false) $=\=80u/  
$rj:K)P  
struts.continuations.package 2i6=g<   
      The package containing actions that use Rife continuations <$?#P#A  
      含有actions的完整连续的package名称 X HJdynt/  
gKTCfD~  
struts.custom.i18n.resources e}2?)B`[  
      Location of additional localization properties files to load A7Y CSjB  
      加载附加的国际化属性文件(不包含.properties后缀) {91Y;p C  
<#BK(W~$  
struts.custom.properties y]{b4e  
      Location of additional configuration properties files to load ?yAb=zI1b  
      加载附加的配置文件的位置 A*0X ~6W  
K3:z5j.X  
]~  N.  
struts.devMode "Fmq$.$%  
      Whether Struts is in development mode or not M/W9"N[ta  
      是否为struts开发模式 *sp")h#Z  
yj_/:eX  
struts.dispatcher.parametersWorkaround />Zfx.Aj6  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &#C&0f8PnD  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) r|}Pg}O  
7<70\ 6  
struts.enable.DynamicMethodInvocation 5,XEN$^  
      Allows one to disable dynamic method invocation from the URL *.w6 =}  
        允许动态方法调用 1 M!4hM Q  
p\_3g!G'  
struts.freemarker.manager.classname 2|ee`"`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^~l@ _r  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 C\"C12n{  
%6fnL~ A  
struts.i18n.encoding Nz{qu}dt  
      The encoding to use for localization messages &0T7Uv-`  
      国际化信息内码 v,Kum<oi?  
k"[AV2UW1  
struts.i18n.reload !Usmm8!K  
      Whether the localization messages should automatically be reloaded 8?L-3/  
      是否国际化信息自动加载 ,~$sJ2 g7  
g,YF$:e  
struts.locale BPW.&2?<  
      The default locale for the Struts application V+sZ;$  
      默认的国际化地区信息 nO6UlY  
2va[= >_  
struts.mapper.class p?Ux1S  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]{i0?c  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =zAFsRoD_B  
?8grK  
struts.multipart.maxSize ecl6>PS$'  
      The maximize size of a multipart request (file upload) M1P;x._n  
      multipart请求信息的最大尺寸(文件上传用) cyd_xB5K  
A#q.)8  
struts.multipart.parser lu>G=uCJ  
      The org.apache.struts2.dispatcher.multipart. s +S6'g--  
      MultiPartRequest parser implementation for a multipart request (file upload) W)Y-^i5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #('R`~  
8yI4=P"F,  
6&E[hvu  
struts.multipart.saveDir 5![ILa_  
      The directory to use for storing uploaded files nY;Sk#9  
      设置存储上传文件的目录夹 JK{2 hr_a  
 3k6Dbz  
struts.objectFactory ZiKO|U@/  
      The com.opensymphony.xwork2.ObjectFactory implementation class uHf1b?W  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .I{u[ "  
K ..Pn 17t  
struts.objectFactory.spring.autoWire l8M}82_  
      Whether Spring should autoWire or not dc emF  
      是否自动绑定Spring 7{"F%`7L  
Z{ YuX  
struts.objectFactory.spring.useClassCache K7x;/O  
      Whether Spring should use its class cache or not wk'(g_DP  
      是否spring应该使用自身的cache D)L~vA/8b  
jbg9 EtQ!*  
struts.objectTypeDeterminer 6U|"d[  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @ajdO/?(Y  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 b-`P-  
XOS^&;  
struts.serve.static.browserCache Vd.XZ*}r*  
If static content served by the Struts filter should set browser caching header properties or not 7Fa<m]k  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 GdScYAC   
"7(@I^'t6  
struts.serve.static 0:`YY 8j1k  
      Whether the Struts filter should serve static content or not es69P)  
      是否struts过滤器应该提供静态内容 "E5=AW d  
"_dJ4<8  
struts.tag.altSyntax 4u2_xbT  
      Whether to use the alterative syntax for the tags or not |d42?7}  
      是否可以用替代的语法替代tags Kzt:rhiB  
rmX5-k  
struts.ui.templateDir FbdC3G|oA  
      The directory containing UI templates C_[ d  
      UI templates的目录夹 ?<0'h{zNy  
3M^`6W[;  
struts.ui.theme ze+S_{  
      The default UI template theme #\="^z6  
      默认的UI template主题 ]t17= Lr?  
1G(wESe  
struts.url.http.port 2,|@a\H  
      The HTTP port used by Struts URLs G'HLnx}Yi  
      设置http端口 N1n\tA?  
5M8   
struts.url.https.port /f. ,xs!  
      The HTTPS port used by Struts URLs f~jd N~  
      设置https端口 s!Id55R]  
)=N.z6?  
struts.url.includeParams h_Er$ZT64  
      The default includeParams method to generate Struts URLs >9g^-~X;v  
      在url中产生 默认的includeParams E/% F0\B  
I2z7}*<u  
Br$/hn=  
struts.velocity.configfile '/ueY#eG  
      The Velocity configuration file path x1CMW`F  
      velocity配置文件路径 4^6Oh#p0  
>Zf*u;/dW$  
struts.velocity.contexts su-0G?c  
      List of Velocity context names q{yzux  
      velocity的context列表 >X>]QMfh  
@X/-p3729  
hg+;!|ha  
struts.velocity.manager.classname S[rfcL"  
      org.apache.struts2.views.velocity.VelocityManager implementation class "VsS-b^P  
      org.apache.struts2.views.velocity.VelocityManager接口名 HqOnZ>D  
Oh}@c~7;  
struts.velocity.toolboxlocation T(qHi?Y  
      The location of the Velocity toolbox (ke<^sv7!  
      velocity工具盒的位置 b]8\% =d  
struts.xslt.nocache I= z+`o8  
      Whether or not XSLT templates should not be cached .lc gM  
      是否XSLT模版应该被缓存 jd+HIR  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五