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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 g1(5QWb  
P!!O~P  
struts.action.extension s_e*jM1  
      The URL extension to use to determine if the request is meant for a Struts action .i^ @v<+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;<"V}, C  
m;L 3c(r.  
struts.configuration p"j &s  
      The org.apache.struts2.config.Configuration implementation class c c/nzB  
        org.apache.struts2.config.Configuration接口名 aIh} j,  
2<:dA >1  
struts.configuration.files ( GoPXh  
      A list of configuration files automatically loaded by Struts O,S>6o)?  
      struts自动加载的一个配置文件列表 ?Mn~XN4F_  
ze21Uj1x*  
struts.configuration.xml.reload u6| IKZ  
      Whether to reload the XML configuration or not VN'\c3;  
      是否加载xml配置(true,false) LXPO@2QF  
sf:IA%.4t  
struts.continuations.package %5nEyZOq  
      The package containing actions that use Rife continuations 1kR. .p<"  
      含有actions的完整连续的package名称 ,+I]\ZeO  
oXN(S:ZF  
struts.custom.i18n.resources 8si{|*;hL  
      Location of additional localization properties files to load C ,|9VH  
      加载附加的国际化属性文件(不包含.properties后缀) w~Nat7nD  
F^S]7{  
struts.custom.properties b#R$P]dr=  
      Location of additional configuration properties files to load fNfa.0 s  
      加载附加的配置文件的位置 jzBW'8  
t1yOAbI  
KWAd~8,mk  
struts.devMode lnm@DWhf  
      Whether Struts is in development mode or not md!!$+a%|  
      是否为struts开发模式 .D\oKhV(  
 :8==Bu  
struts.dispatcher.parametersWorkaround c\&;Xr  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %[M0TE=J  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `H$=hr  
GIn%yB'  
struts.enable.DynamicMethodInvocation _VTpfeL@n  
      Allows one to disable dynamic method invocation from the URL } #L_R  
        允许动态方法调用 5X>~39(r  
kqxq'Aq)d  
struts.freemarker.manager.classname B& R?{y*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7YK6e  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  Fq5u%S  
"* N#-=MJF  
struts.i18n.encoding V\opC6*L_e  
      The encoding to use for localization messages )N607 Fa-  
      国际化信息内码 Oh>hy Y)}  
 ;Q4,I[?%  
struts.i18n.reload 9F?-zn;2s  
      Whether the localization messages should automatically be reloaded cAot+N+9|]  
      是否国际化信息自动加载 gA}<Y  
ysl#Rwt/2  
struts.locale 3EY m@oZj  
      The default locale for the Struts application r|jM;  
      默认的国际化地区信息 m<kJH<!j  
yXv@yn  
struts.mapper.class a?8)47)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;134$7!Y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 }4H}*P>+  
\%.oi@A  
struts.multipart.maxSize |yzv o"3  
      The maximize size of a multipart request (file upload) s/s&d pT*  
      multipart请求信息的最大尺寸(文件上传用) Kg2Du'WQ^  
GKSF(Tnj  
struts.multipart.parser 5U4V_*V  
      The org.apache.struts2.dispatcher.multipart. @G=7A;-pv0  
      MultiPartRequest parser implementation for a multipart request (file upload) NH}o`x/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) y 5=r r3%v  
ls!A'@J  
&GJVFr~z  
struts.multipart.saveDir Kg"eS`-  
      The directory to use for storing uploaded files "kBVHy  
      设置存储上传文件的目录夹 i8-Y,&>V  
_@[W[= |H  
struts.objectFactory "J2q|@.  
      The com.opensymphony.xwork2.ObjectFactory implementation class |9IOZ>H9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 8F`8=L NO  
#OM)71kB8  
struts.objectFactory.spring.autoWire N[Ei%I  
      Whether Spring should autoWire or not OY:rcGc`t  
      是否自动绑定Spring ty rP[y  
ujmIS~"  
struts.objectFactory.spring.useClassCache cc_'Kv!  
      Whether Spring should use its class cache or not >dm9 YfQ  
      是否spring应该使用自身的cache Ddg!1SF  
PsXCpyY!s  
struts.objectTypeDeterminer oQu>Qr{Zp  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class j3/6hE>  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5|K[WvG@Co  
2y;vX|lX]  
struts.serve.static.browserCache V@-Q&K#  
If static content served by the Struts filter should set browser caching header properties or not Dv/7 w[F  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 tp7$t#  
S2*sh2-&6  
struts.serve.static ( B\ UZb  
      Whether the Struts filter should serve static content or not :H m'o}  
      是否struts过滤器应该提供静态内容 jK*d  
DgW@v[#BK=  
struts.tag.altSyntax SE^l`.U@  
      Whether to use the alterative syntax for the tags or not _0'X!1"  
      是否可以用替代的语法替代tags K$/"I0YyI  
NQ 6oyg@&  
struts.ui.templateDir ]3f[v:JQ  
      The directory containing UI templates Hv,ll1@h  
      UI templates的目录夹 z+6PVQ  
2-8Dc4H]r  
struts.ui.theme C`kqsK   
      The default UI template theme l9a81NF{s  
      默认的UI template主题 fK+E5~vQ  
n9={D  
struts.url.http.port Aixe?A_x  
      The HTTP port used by Struts URLs !<=zFy[J.9  
      设置http端口 `H$XO{w  
$o5i15Oy.  
struts.url.https.port X5[t6q!  
      The HTTPS port used by Struts URLs \ Voly  
      设置https端口 np6G~0Y`  
S!=R\_{u$  
struts.url.includeParams FP=- jf/  
      The default includeParams method to generate Struts URLs d!R+-Fp  
      在url中产生 默认的includeParams i) X~L4gn  
g%S/)R,,ct  
$Uy+]9  
struts.velocity.configfile 2!B|w8ar  
      The Velocity configuration file path s<!G2~T  
      velocity配置文件路径 {O y|c  
/Z^a, %1  
struts.velocity.contexts CQ/+- -o  
      List of Velocity context names $RYGAh  
      velocity的context列表 ij-'M{f  
Fovah4q%V  
<af# C2`B  
struts.velocity.manager.classname ;#v3C;  
      org.apache.struts2.views.velocity.VelocityManager implementation class E:**gvfq  
      org.apache.struts2.views.velocity.VelocityManager接口名 T{+a48,;  
v8yCf7+"  
struts.velocity.toolboxlocation 6X h7Bx1  
      The location of the Velocity toolbox WcKDerc  
      velocity工具盒的位置 ~s HdOMw  
struts.xslt.nocache l%GArH`  
      Whether or not XSLT templates should not be cached {*O+vtir%  
      是否XSLT模版应该被缓存 2ak]&ll+h  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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