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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 T0RgCU IV  
1p9f& w  
struts.action.extension )kgy L,9  
      The URL extension to use to determine if the request is meant for a Struts action ~&4,w9b)j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 it>FG9hVo  
zYSXG-k  
struts.configuration haa [ob6T  
      The org.apache.struts2.config.Configuration implementation class Vv=d*  
        org.apache.struts2.config.Configuration接口名 ?~S\^4]  
o &LNtl;  
struts.configuration.files xb_35'$M  
      A list of configuration files automatically loaded by Struts FJ>| l#nO  
      struts自动加载的一个配置文件列表 +5);"71  
;Cyt2]F  
struts.configuration.xml.reload w>VM--  
      Whether to reload the XML configuration or not -oe&1RrdVg  
      是否加载xml配置(true,false)  D[]vJ  
oOe5IczS(  
struts.continuations.package {My/+{eS!?  
      The package containing actions that use Rife continuations %t%+;(M9  
      含有actions的完整连续的package名称 b9w9M&?fT  
D 7H$!(F>  
struts.custom.i18n.resources Ty#L%k}-t  
      Location of additional localization properties files to load Q} f=Ye(&}  
      加载附加的国际化属性文件(不包含.properties后缀) kfA%%A  
N9:xtrJ]_J  
struts.custom.properties j t-ayLq  
      Location of additional configuration properties files to load WGVvBX7#  
      加载附加的配置文件的位置 "2qp-'^[c  
3=5+NJ'8  
`<Zp!Hl(j  
struts.devMode ]eP&r?B  
      Whether Struts is in development mode or not MF]s(7U4 `  
      是否为struts开发模式 ](- :l6  
bv$)^  
struts.dispatcher.parametersWorkaround $N5}N\C:a  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic V!3O 1  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 01#a  
= ?T'@C  
struts.enable.DynamicMethodInvocation  @;d(>_n  
      Allows one to disable dynamic method invocation from the URL  [Fr.ik  
        允许动态方法调用 LYavth`@h  
Eh0R0;l5>  
struts.freemarker.manager.classname OES+BXGX  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class i>q]U:U  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 g;eMsoJG  
{o5E#<)  
struts.i18n.encoding Ck(D: % ~s  
      The encoding to use for localization messages !lL21C6g+  
      国际化信息内码 E@P8-x'i  
-5d8j<,  
struts.i18n.reload d^WVWk K  
      Whether the localization messages should automatically be reloaded zn>*^h0B  
      是否国际化信息自动加载 Ry[VEn>C1  
0D:J d6\  
struts.locale 86@"BNnTh  
      The default locale for the Struts application  g5X+iV  
      默认的国际化地区信息 O\B_=KWDO  
;wgm 'jr  
struts.mapper.class I6'U[)%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class gn#4az3@e>  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^0A'XCULG  
mTYEK4}  
struts.multipart.maxSize r/+ <_3  
      The maximize size of a multipart request (file upload) JTQ$p*2]  
      multipart请求信息的最大尺寸(文件上传用) KDwjck"5;  
8GV$L~i  
struts.multipart.parser zpiqJEf|'"  
      The org.apache.struts2.dispatcher.multipart. &T}~h^/t  
      MultiPartRequest parser implementation for a multipart request (file upload) avykg(  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !YsL x[+  
O,]t.1V  
q%"]}@a0  
struts.multipart.saveDir QpAK]  
      The directory to use for storing uploaded files kOx2P(UAEx  
      设置存储上传文件的目录夹 ZVVK:d Dgt  
]f-< s,@  
struts.objectFactory =MRg  
      The com.opensymphony.xwork2.ObjectFactory implementation class W!2(Ph*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 9]Uvy|  
t!AHTtI  
struts.objectFactory.spring.autoWire P[?~KNS:/  
      Whether Spring should autoWire or not W(1p0|WQ:  
      是否自动绑定Spring ) #9/vIQ  
\zR{D}aS  
struts.objectFactory.spring.useClassCache #ZRQVC;b;  
      Whether Spring should use its class cache or not QOcB ]G  
      是否spring应该使用自身的cache Y)g7 E"  
ePa1 @dI  
struts.objectTypeDeterminer =Qp~@k=2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class | ?~-k[|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |Ah26<&  
tB'F`HM:mq  
struts.serve.static.browserCache ~aNK)<Fznd  
If static content served by the Struts filter should set browser caching header properties or not QROe+:  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 qeb:n$  
E@7";&\-8  
struts.serve.static oXK`=.\  
      Whether the Struts filter should serve static content or not b`PAOQ  
      是否struts过滤器应该提供静态内容 OTl\^!  
$e_A( |  
struts.tag.altSyntax (SfP3  
      Whether to use the alterative syntax for the tags or not `)*   
      是否可以用替代的语法替代tags x4pl#~Su  
`QC{}Oo^  
struts.ui.templateDir n1a;vE{!  
      The directory containing UI templates ~*ZB2  
      UI templates的目录夹 kb Fr  
8tK8|t5+  
struts.ui.theme L/1?PM  
      The default UI template theme s{2BG9s  
      默认的UI template主题 LL7a 20  
l&dHH_m3  
struts.url.http.port E#URTt:&>  
      The HTTP port used by Struts URLs :\NqGS=<  
      设置http端口 (?72 vCc  
M6jP>fbV*  
struts.url.https.port sT?Qlj'Zd  
      The HTTPS port used by Struts URLs sf2_x>U1  
      设置https端口 xiX~*Zs  
&$.Vi&{.  
struts.url.includeParams vS6}R5  
      The default includeParams method to generate Struts URLs Yc3r 3Jy  
      在url中产生 默认的includeParams gz;().{  
\_#0Z+pX  
d7g/s'ZHt6  
struts.velocity.configfile )@RTU~#  
      The Velocity configuration file path >&f .^p  
      velocity配置文件路径 f\!*%xS;  
p{"p<XFyO  
struts.velocity.contexts C eNpJ  
      List of Velocity context names .taJCE  
      velocity的context列表 #r `hK)  
5H1SC8+B,  
IpXg2QbN  
struts.velocity.manager.classname %qcBM~efT  
      org.apache.struts2.views.velocity.VelocityManager implementation class 3Wrl_V  
      org.apache.struts2.views.velocity.VelocityManager接口名 \7nlwFAO  
xAMj16ZF  
struts.velocity.toolboxlocation Oj:O-PtN2  
      The location of the Velocity toolbox `zAV#   
      velocity工具盒的位置 l!ltgj  
struts.xslt.nocache Hv>A$x$q  
      Whether or not XSLT templates should not be cached 6]Q ~c"+5  
      是否XSLT模版应该被缓存 Ash"D~  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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