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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -O r\  
"Er8RUJA  
struts.action.extension "HwlN_PA  
      The URL extension to use to determine if the request is meant for a Struts action =EH/~NGk  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a[,p1}!_  
l)~$/#k  
struts.configuration h#dfhcU>  
      The org.apache.struts2.config.Configuration implementation class #Uep|A  
        org.apache.struts2.config.Configuration接口名 1(_[awBx  
Su[(IMw  
struts.configuration.files E$A=*-u  
      A list of configuration files automatically loaded by Struts gxJ12' m  
      struts自动加载的一个配置文件列表 h`eHoKJ#w  
h Fan$W$  
struts.configuration.xml.reload b\kA  
      Whether to reload the XML configuration or not kIe)ocJg  
      是否加载xml配置(true,false) qv >l  
Y4lNxvY  
struts.continuations.package {lUaN0O:  
      The package containing actions that use Rife continuations Z 0v&AD=  
      含有actions的完整连续的package名称 &T ^bv*P  
]3 Ibl^J  
struts.custom.i18n.resources t0?t Xe.B  
      Location of additional localization properties files to load E70o nR!i  
      加载附加的国际化属性文件(不包含.properties后缀) RE-y5.kE^  
K|Xe)  
struts.custom.properties -s7!:MB%g  
      Location of additional configuration properties files to load h0A%KL  
      加载附加的配置文件的位置 &" 5Yt&{  
91nB?8ZE6,  
?5^DQ|Hg ^  
struts.devMode s$lJJL  
      Whether Struts is in development mode or not ($8!r|g5#  
      是否为struts开发模式 4Me3{!HJz  
)T&r770  
struts.dispatcher.parametersWorkaround $" =3e]<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;!7M<T$&  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Mhb~wDQl  
k9NHdi7&2  
struts.enable.DynamicMethodInvocation [r9HYju =  
      Allows one to disable dynamic method invocation from the URL s;[=B  
        允许动态方法调用 X`-o0HG  
L)S V?FBx  
struts.freemarker.manager.classname f]C^{Uk#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class - (q7"h  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 p;D {?H/  
OB^j b8  
struts.i18n.encoding MUCes3YJH  
      The encoding to use for localization messages L$"pk{'  
      国际化信息内码 a] 6d hQ`  
>svx 8CT  
struts.i18n.reload !CY*SGO  
      Whether the localization messages should automatically be reloaded W'Y(@  
      是否国际化信息自动加载 !9.\A:G  
"5Z5x%3I  
struts.locale vIZFI  
      The default locale for the Struts application W@%g_V}C*  
      默认的国际化地区信息 o3NB3@uj<  
 `=B v+  
struts.mapper.class mtw{7 E  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class IJ:JH=8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 V@EyU/VJ  
-zzT:C  
struts.multipart.maxSize 2E!Q5 l!j  
      The maximize size of a multipart request (file upload) nQg_1+  
      multipart请求信息的最大尺寸(文件上传用) LY#V)f  
_?K,Jc8j.  
struts.multipart.parser H:WuMwD4  
      The org.apache.struts2.dispatcher.multipart. {h.j6  
      MultiPartRequest parser implementation for a multipart request (file upload) dYlVJ_0Zr  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <^942y-=  
9T1 - {s R  
3;!!`R>e  
struts.multipart.saveDir axK/YE7t  
      The directory to use for storing uploaded files 6JR FYgI  
      设置存储上传文件的目录夹 S0LaQ<9.  
C0>L<*C  
struts.objectFactory 23a:q{R  
      The com.opensymphony.xwork2.ObjectFactory implementation class A^zd:h-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Mp[2Auf  
e)87 & 7  
struts.objectFactory.spring.autoWire m}>Q#IVZ  
      Whether Spring should autoWire or not A>RK3{7  
      是否自动绑定Spring }gE^HH'  
6!;D],,"#.  
struts.objectFactory.spring.useClassCache k\g:uIsv$  
      Whether Spring should use its class cache or not vWL| vR  
      是否spring应该使用自身的cache QR<<O  
`}FZ;q3DP  
struts.objectTypeDeterminer /*GCuc|  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Y'#uZA3KA  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m9-=Y{&/  
kP^=  
struts.serve.static.browserCache dVn_+1\L  
If static content served by the Struts filter should set browser caching header properties or not Q]$pg5O  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &;<'AF  
QHnC(b  
struts.serve.static "{2niBx  
      Whether the Struts filter should serve static content or not 58eO|c(  
      是否struts过滤器应该提供静态内容 9g.5:  
1qm*#4x  
struts.tag.altSyntax 9;L8%T (  
      Whether to use the alterative syntax for the tags or not K<50>uG  
      是否可以用替代的语法替代tags 1S yG  
:YLurng/]  
struts.ui.templateDir O]j<$GG!  
      The directory containing UI templates d b *J  
      UI templates的目录夹 #3A|Z=,5  
[N<rPHT  
struts.ui.theme +c__U Qx  
      The default UI template theme L@ejFXQg  
      默认的UI template主题 2lqy<o  
),^pi?  
struts.url.http.port A8:eA  
      The HTTP port used by Struts URLs VssWtL  
      设置http端口 )HX(-"c  
Y.#fpG'  
struts.url.https.port LyL(~Jc|  
      The HTTPS port used by Struts URLs ktp<o.f[  
      设置https端口 +AFBTJ  
<\P `<  
struts.url.includeParams g0-rQA  
      The default includeParams method to generate Struts URLs )l`VE_(|  
      在url中产生 默认的includeParams /a6i`  
2@I0p\a  
#u +~ ^M  
struts.velocity.configfile HuQdQ*Q  
      The Velocity configuration file path ?0qP6'nWx  
      velocity配置文件路径 \m:('^\6o  
. lNf.x#u  
struts.velocity.contexts WF2t{<]^e  
      List of Velocity context names Dt iM}=:  
      velocity的context列表 0]^gT'  
v I,T1%llu  
oa`7ClzD  
struts.velocity.manager.classname ~@T`0W-Py  
      org.apache.struts2.views.velocity.VelocityManager implementation class %J1oz3n  
      org.apache.struts2.views.velocity.VelocityManager接口名 Jje!*?&8X  
W! J@30  
struts.velocity.toolboxlocation k~, k@mR  
      The location of the Velocity toolbox ,ne3uPRu7~  
      velocity工具盒的位置 O%px>rdkY  
struts.xslt.nocache m1xR uj]  
      Whether or not XSLT templates should not be cached 'u d[#@2  
      是否XSLT模版应该被缓存 #Jr4LQ@A9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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