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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 UX03"gX  
UqY J#&MqY  
struts.action.extension U. NeK{  
      The URL extension to use to determine if the request is meant for a Struts action MI?]8+l  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4{c`g$j>  
M,I68  
struts.configuration F@oT7NB/n  
      The org.apache.struts2.config.Configuration implementation class VNr!|bp5  
        org.apache.struts2.config.Configuration接口名 l^)o'YS y  
HdDo&#  
struts.configuration.files !N@Yh"c  
      A list of configuration files automatically loaded by Struts ^Jc$BMaVg  
      struts自动加载的一个配置文件列表 vr5<LNCLQ  
(8+.#1!*  
struts.configuration.xml.reload @DRfNJ}  
      Whether to reload the XML configuration or not \3,$YlG  
      是否加载xml配置(true,false) %jYQ  
8.6no  
struts.continuations.package 9N`+ O  
      The package containing actions that use Rife continuations yN%3w0v  
      含有actions的完整连续的package名称 }mkA Hmu4  
q=(M!9cE  
struts.custom.i18n.resources t"jIfU>'a/  
      Location of additional localization properties files to load EY=\C$3J:  
      加载附加的国际化属性文件(不包含.properties后缀) y=y/d>=w  
|E>v~qD8I  
struts.custom.properties {b\Y?t^>f  
      Location of additional configuration properties files to load P TfN+  
      加载附加的配置文件的位置 e<&_tx   
? Yynd  
/r #b  
struts.devMode U0lqGEZ  
      Whether Struts is in development mode or not ]0at2  
      是否为struts开发模式 s:qxAUi\/  
x0N-[//YV  
struts.dispatcher.parametersWorkaround TPV6$a<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ZdJVs/33Vn  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) yHV^a0e7EH  
E` :ZH  
struts.enable.DynamicMethodInvocation !8H!Fj`|j  
      Allows one to disable dynamic method invocation from the URL TPN:cA6[c  
        允许动态方法调用 &VtWSq-)  
!07FsPI#{  
struts.freemarker.manager.classname xF\}.OfWG  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  Ep#<$6>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 p0%6@_FT~  
4DG 9`5.  
struts.i18n.encoding A,-[/Z K/  
      The encoding to use for localization messages %FXIlH5  
      国际化信息内码 2 `q^Q  
7N-CtQnv  
struts.i18n.reload *)}Ap4[  
      Whether the localization messages should automatically be reloaded =N[V{2}q  
      是否国际化信息自动加载  (9'G  
o}j_eH l{  
struts.locale 'Kt4O9=p  
      The default locale for the Struts application ePIly)=X  
      默认的国际化地区信息 9g<_JcN  
,_e/a   
struts.mapper.class J7&.>y1%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class o{ YW  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ~]m@k'n  
dd @COP?  
struts.multipart.maxSize m,kv EQ3  
      The maximize size of a multipart request (file upload) Z]1z*dv  
      multipart请求信息的最大尺寸(文件上传用) X7imUy'.  
.lNnY8<  
struts.multipart.parser umHs" d  
      The org.apache.struts2.dispatcher.multipart. <7sF<KD  
      MultiPartRequest parser implementation for a multipart request (file upload) |{}d5Z"5;}  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) OmoplJ+  
{ 8|Z}?I  
lhW#IiX  
struts.multipart.saveDir R+@sHsZ@  
      The directory to use for storing uploaded files qU /Wg  
      设置存储上传文件的目录夹 O #p)~V8~  
i&SBW0)  
struts.objectFactory JXZ:Wg  
      The com.opensymphony.xwork2.ObjectFactory implementation class Cx1Sh#9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 8m1 3M5r  
D; 35@gtj  
struts.objectFactory.spring.autoWire eL] w' }\  
      Whether Spring should autoWire or not <whPM  
      是否自动绑定Spring rwV u?W  
D=pI'5&  
struts.objectFactory.spring.useClassCache XQ4^:3Yc  
      Whether Spring should use its class cache or not v=yI#5  
      是否spring应该使用自身的cache QBBJ1U  
[K|>s(Sf*  
struts.objectTypeDeterminer Br.$L  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (fLbg,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =>9.@`.  
NiJ?no  
struts.serve.static.browserCache gC,0+Y~  
If static content served by the Struts filter should set browser caching header properties or not e4NX\tCpw  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 EssUyF-jwU  
pN^G[  
struts.serve.static A)`fD %+  
      Whether the Struts filter should serve static content or not MM58w3Mz  
      是否struts过滤器应该提供静态内容 1PT_1[eAR  
1H2u,{O  
struts.tag.altSyntax 5GWM )vrZg  
      Whether to use the alterative syntax for the tags or not -^nQ^Td=j  
      是否可以用替代的语法替代tags JD\-X(O  
]6c2[r?g{  
struts.ui.templateDir y[7xK}`_  
      The directory containing UI templates  M$-(4 0  
      UI templates的目录夹 _tauhwu  
B #V 4  
struts.ui.theme GT`<jzAiQ  
      The default UI template theme %+OPas8C  
      默认的UI template主题 Dm`U|<o  
#}]il0d  
struts.url.http.port MsiC!j.-  
      The HTTP port used by Struts URLs YI(OrR;V  
      设置http端口 PFn[[~5V  
`?S?)0B  
struts.url.https.port 1X:whS5S  
      The HTTPS port used by Struts URLs :aFpz6<  
      设置https端口 _/w-gL{  
 Vgb>3]SU  
struts.url.includeParams o4 OEA)k)=  
      The default includeParams method to generate Struts URLs 8J(zWV7 r  
      在url中产生 默认的includeParams s$y#Ufz  
N)I T?  
9p'J(`  
struts.velocity.configfile oP`M\KXau  
      The Velocity configuration file path r#Oz0=0u  
      velocity配置文件路径 *gpD4c7A\  
FoXQ]X7"  
struts.velocity.contexts ob5nk ^y  
      List of Velocity context names o)D+qiA3U  
      velocity的context列表 g[+Q~/yq  
"9T`3cM0  
V4i%|vV  
struts.velocity.manager.classname /Gv$1t^a  
      org.apache.struts2.views.velocity.VelocityManager implementation class B91PlM.  
      org.apache.struts2.views.velocity.VelocityManager接口名 :mHtK)z~  
imq(3?  
struts.velocity.toolboxlocation r{jD,x2  
      The location of the Velocity toolbox .`#R%4Xl  
      velocity工具盒的位置 cTx/Y&\9  
struts.xslt.nocache A|OC?NZY  
      Whether or not XSLT templates should not be cached uiEA=*axp  
      是否XSLT模版应该被缓存 l%5%oN`4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五