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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 $^]K611w9  
XiW1X6  
struts.action.extension <tr]bCu}  
      The URL extension to use to determine if the request is meant for a Struts action  ;l$$!PJ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 GK@OdurAR  
6r)P&J  
struts.configuration !}&|a~U@`k  
      The org.apache.struts2.config.Configuration implementation class `'YX>u/  
        org.apache.struts2.config.Configuration接口名 > i/jqT/  
Tq1\  
struts.configuration.files b($hp%+yJ  
      A list of configuration files automatically loaded by Struts |+#Zuq  
      struts自动加载的一个配置文件列表 V b0T)C  
y9:4n1fg  
struts.configuration.xml.reload :`bC3Mr  
      Whether to reload the XML configuration or not + jLy>=u  
      是否加载xml配置(true,false) gmGK3am  
$Z]&3VxxY  
struts.continuations.package 5ya9VZ5#  
      The package containing actions that use Rife continuations fkV@3sj  
      含有actions的完整连续的package名称 gaF6 j!p  
\@<7Vo,  
struts.custom.i18n.resources 4EB\R"rWXf  
      Location of additional localization properties files to load jI-a+LnEm  
      加载附加的国际化属性文件(不包含.properties后缀) ?.~1%l!  
7N$2N!I(  
struts.custom.properties \-\>JPO~<  
      Location of additional configuration properties files to load Ew8@{X y  
      加载附加的配置文件的位置 .~]|gg~  
y'R}  
fUT[tkb/!  
struts.devMode <:S qMf  
      Whether Struts is in development mode or not dOhSqx56  
      是否为struts开发模式 +,Eam6g{  
ZEqW*piI  
struts.dispatcher.parametersWorkaround 'a~@q~!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~ ld.I4  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t>j_C{X1(  
7({)ou x  
struts.enable.DynamicMethodInvocation <kn 2  
      Allows one to disable dynamic method invocation from the URL 3c<aI =$^  
        允许动态方法调用 78& |^sq  
"5hk%T '  
struts.freemarker.manager.classname Xaq;d'  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class hkMeUxS  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 l]*RiK2AC  
7)Toj  
struts.i18n.encoding r4yz{^G  
      The encoding to use for localization messages eM7@!CdA9q  
      国际化信息内码 (,|,j(=]  
W`>|OiuF  
struts.i18n.reload ;:;E|{e  
      Whether the localization messages should automatically be reloaded aKI"<%PNn  
      是否国际化信息自动加载 y=3 dGOFB  
1/DtF  
struts.locale j\y;~ V  
      The default locale for the Struts application Ymut]`dX  
      默认的国际化地区信息 ^z?b6kTC  
!cW rB9  
struts.mapper.class 3?93Pj3oPt  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3[m~-8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 R"nB4R0Uh  
g4?2'G5m?  
struts.multipart.maxSize RY-iFydPc  
      The maximize size of a multipart request (file upload) R5HT EB  
      multipart请求信息的最大尺寸(文件上传用) WgNA%.|,  
-cgO]q+Oq  
struts.multipart.parser h<.5:a  
      The org.apache.struts2.dispatcher.multipart. +H-=`+,  
      MultiPartRequest parser implementation for a multipart request (file upload) Eb3ZM#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) LlTD =tJ0  
EGu%;[  
w\buQ6pR)  
struts.multipart.saveDir (.J/Ql0Y  
      The directory to use for storing uploaded files MO`Y&<g~A  
      设置存储上传文件的目录夹 ^C>kmo3J  
 !:( +#  
struts.objectFactory T;w:^XW  
      The com.opensymphony.xwork2.ObjectFactory implementation class [,=?e  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4]d^L>  
IwyA4Ak Ru  
struts.objectFactory.spring.autoWire wkg4I.  
      Whether Spring should autoWire or not |#Gxqq'  
      是否自动绑定Spring R7::f\I   
v+ $3  
struts.objectFactory.spring.useClassCache 4_#$k{  
      Whether Spring should use its class cache or not 4I4m4^  
      是否spring应该使用自身的cache 6N/(cUXJ  
M.}9)ho   
struts.objectTypeDeterminer =G-OIu+H!U  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class sW>%mnx  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 fc#9e9R  
{lI}a8DP  
struts.serve.static.browserCache U:7h>Z0W  
If static content served by the Struts filter should set browser caching header properties or not +){^HC\7h  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 l+ }=D@l  
-E-#@s  
struts.serve.static N_Us6 X  
      Whether the Struts filter should serve static content or not K?.~}82c  
      是否struts过滤器应该提供静态内容 &PMQ]B  
C5~#lNC  
struts.tag.altSyntax a&s34Pd  
      Whether to use the alterative syntax for the tags or not !I7$e&Uz@  
      是否可以用替代的语法替代tags Y\ [|k-6  
Aztrq  
struts.ui.templateDir $|$@?H>K  
      The directory containing UI templates J8'"vc}=  
      UI templates的目录夹 .f~9IAXP`  
=*UK!y?n  
struts.ui.theme ;dIk$_FN  
      The default UI template theme |$WHw*F^  
      默认的UI template主题 2?,Jn&i5  
(UkP AE  
struts.url.http.port pqG> |#RG  
      The HTTP port used by Struts URLs hh;kBv07o  
      设置http端口 )5|9EXh  
|rx5O5p  
struts.url.https.port ;*%rFt9FK  
      The HTTPS port used by Struts URLs 0]d;)_`@  
      设置https端口 [$dVs16K  
a;o0#I#Si  
struts.url.includeParams )%C.IZ_s2  
      The default includeParams method to generate Struts URLs (-C)A-Uo&  
      在url中产生 默认的includeParams e@3SF  
C:E f6ZW  
{;$oC4  
struts.velocity.configfile u]ms~rO  
      The Velocity configuration file path GQ(Y#HSq  
      velocity配置文件路径 [@i:qB>B  
>.<VD7p  
struts.velocity.contexts 6[m~xegG  
      List of Velocity context names QqM[W/&R  
      velocity的context列表 P(T-2Ux6  
Ca-"3aQkc  
'F W?   
struts.velocity.manager.classname f3UCELJ  
      org.apache.struts2.views.velocity.VelocityManager implementation class `Vvi]>,cg`  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^G4YvS(  
TQR5V\{&%  
struts.velocity.toolboxlocation Du_5iuMh  
      The location of the Velocity toolbox ay8]"sa  
      velocity工具盒的位置 cAR `{%b  
struts.xslt.nocache MlV(XG>'  
      Whether or not XSLT templates should not be cached .n\JY;"  
      是否XSLT模版应该被缓存 xe@e#9N$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五