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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 n AoGG0$5  
{QM;%f  
struts.action.extension b+OLmd  
      The URL extension to use to determine if the request is meant for a Struts action ]^3_eHa^d  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 G"5Nj3v d  
6@]Xwq  
struts.configuration Q2Yv8q_}Uq  
      The org.apache.struts2.config.Configuration implementation class A AH-Dj|&l  
        org.apache.struts2.config.Configuration接口名 fh b&_T  
p<Ah50!B  
struts.configuration.files p27A#Uu2}  
      A list of configuration files automatically loaded by Struts i74^J+xk  
      struts自动加载的一个配置文件列表 wTf0O@``6H  
UacN'Rat  
struts.configuration.xml.reload E:D1ZV  
      Whether to reload the XML configuration or not SV<*qz  
      是否加载xml配置(true,false) hIXGfvUy  
QTz{ZNi!  
struts.continuations.package U4 m[@wF  
      The package containing actions that use Rife continuations JAC W#'4hV  
      含有actions的完整连续的package名称 Xd)ba9{  
9x;/q7  
struts.custom.i18n.resources OV7vwj/-  
      Location of additional localization properties files to load ^W_}Gd<-#Y  
      加载附加的国际化属性文件(不包含.properties后缀) o*qEAy ?  
FT[oM<M\Xd  
struts.custom.properties 0s$g[Fw<.  
      Location of additional configuration properties files to load V*=cNj  
      加载附加的配置文件的位置 yD#w @yG  
{ )'D<:T  
d#ya"e>  
struts.devMode 0Y)b319B  
      Whether Struts is in development mode or not jm.pb/  
      是否为struts开发模式 .x(&-  
C: kl/9M@  
struts.dispatcher.parametersWorkaround ` eND3c  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6lT1X)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) yx{Ac|<mR  
UciWrwE  
struts.enable.DynamicMethodInvocation CV]PCq!  
      Allows one to disable dynamic method invocation from the URL `DG6ollp{  
        允许动态方法调用 )N)ziAy}  
+(/XMx}a  
struts.freemarker.manager.classname @!0j)5%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >h[tHM O  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 7/PHg)&  
a}i{b2B  
struts.i18n.encoding '8*gJ7]  
      The encoding to use for localization messages $#]?\psf  
      国际化信息内码 Qc[[@=S%  
Yo| H`m,  
struts.i18n.reload mH;Z_ME"  
      Whether the localization messages should automatically be reloaded u8+<uWB  
      是否国际化信息自动加载 iUS379wM}  
v 0rX/ mj  
struts.locale $rFv(Qc^=  
      The default locale for the Struts application 9'8OGCN  
      默认的国际化地区信息 0a8nBo7A-X  
^ b-H  
struts.mapper.class z6Su`  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )6bxP&k  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 sn5N9=\+T  
Ct}"o  
struts.multipart.maxSize hf:n!+,C  
      The maximize size of a multipart request (file upload) &Ei dc .  
      multipart请求信息的最大尺寸(文件上传用) a(x[+ El  
B|:{.U@ne  
struts.multipart.parser i$"FUC~'  
      The org.apache.struts2.dispatcher.multipart. & \<RVE  
      MultiPartRequest parser implementation for a multipart request (file upload) T2Y`q'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R&ou4Y:DG  
lmH!I )5  
\lKQDct. -  
struts.multipart.saveDir /rv XCA)j  
      The directory to use for storing uploaded files w2+RX-6Ie  
      设置存储上传文件的目录夹 Kw!`u^>  
*9PS2*n  
struts.objectFactory hXz"}X n  
      The com.opensymphony.xwork2.ObjectFactory implementation class }[LK/@h  
      com.opensymphony.xwork2.ObjectFactory接口(spring) MYN1zYT6j  
8^dGI9N  
struts.objectFactory.spring.autoWire L'aMXNO  
      Whether Spring should autoWire or not $ZcmE<7k  
      是否自动绑定Spring ^jf$V #z0/  
y*uL,WH  
struts.objectFactory.spring.useClassCache \?3];+c9  
      Whether Spring should use its class cache or not /3KEX{'@U  
      是否spring应该使用自身的cache yA%[ u.{  
~@'|R%jJ  
struts.objectTypeDeterminer &cpRB&bf  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class sv0kksj  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `Z%XA>  
*2:)Rf  
struts.serve.static.browserCache 5VG@Q%  
If static content served by the Struts filter should set browser caching header properties or not B@iIj<p~  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #y>oCB`EM  
cgz'6q'T  
struts.serve.static }PED#Uv  
      Whether the Struts filter should serve static content or not ^1*p]j(  
      是否struts过滤器应该提供静态内容 V{d"cs>9  
n0vPW^EQ  
struts.tag.altSyntax ^f<f&V  
      Whether to use the alterative syntax for the tags or not 5)T{iPU%X  
      是否可以用替代的语法替代tags !Id F6 %  
cq[}>5*k  
struts.ui.templateDir R`1$z8$  
      The directory containing UI templates zR{TWk]  
      UI templates的目录夹 gvcT_'  
f^$\+H"W  
struts.ui.theme \s~ W;m  
      The default UI template theme 3J(STIxg  
      默认的UI template主题 kY_UY~E  
qZ1fQN1yG  
struts.url.http.port 9 z3Iwl  
      The HTTP port used by Struts URLs j<l>+., U  
      设置http端口 E>4 \9  
)$th${pd#v  
struts.url.https.port Uj!L:u2b  
      The HTTPS port used by Struts URLs 4 Qw;r  
      设置https端口 @&EP& $*  
$7BD~U   
struts.url.includeParams k?S-peyRO  
      The default includeParams method to generate Struts URLs )3G?5 OTS  
      在url中产生 默认的includeParams A@DIq/^xM  
Qz$.t>@V=  
UI8M<  
struts.velocity.configfile uk\GAm@O  
      The Velocity configuration file path b%)a5H(  
      velocity配置文件路径 C y& L,  
{ld([  
struts.velocity.contexts .S5&MNE  
      List of Velocity context names GbL,k? ey  
      velocity的context列表 8=2)I.   
D~mGv1t"  
5@v!wms  
struts.velocity.manager.classname <?Lj!JGX  
      org.apache.struts2.views.velocity.VelocityManager implementation class UyF]gO  
      org.apache.struts2.views.velocity.VelocityManager接口名 ]\_4r)cN<n  
.0a$E`V=D  
struts.velocity.toolboxlocation DH 9?~|  
      The location of the Velocity toolbox KRXe\Sx  
      velocity工具盒的位置 g8qN+Gg  
struts.xslt.nocache l7x%G@1#~W  
      Whether or not XSLT templates should not be cached qY0Ic5wCY  
      是否XSLT模版应该被缓存 |faXl3|  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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