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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 {Dmjm{   
?1eK#Z.  
struts.action.extension 7Rt9od< )!  
      The URL extension to use to determine if the request is meant for a Struts action >oe]$r  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 J9[r|`gJ(  
:[!j?)%>  
struts.configuration abLnI =W`  
      The org.apache.struts2.config.Configuration implementation class uU25iDn  
        org.apache.struts2.config.Configuration接口名 Z/;aT -N  
I(0~n,=j  
struts.configuration.files iW /}#  
      A list of configuration files automatically loaded by Struts ox (%5c)b|  
      struts自动加载的一个配置文件列表 &IB|rw'9  
{,~3.5u   
struts.configuration.xml.reload /gkX38  
      Whether to reload the XML configuration or not igR";OQk  
      是否加载xml配置(true,false) %-0t?/>  
)%@J=&G8TT  
struts.continuations.package /RC7"QzL  
      The package containing actions that use Rife continuations >&5DsV.B  
      含有actions的完整连续的package名称 ]wG{!0pl  
NPe%F+X  
struts.custom.i18n.resources \)?HJ  
      Location of additional localization properties files to load P}7'm M  
      加载附加的国际化属性文件(不包含.properties后缀) fx>4  
p"ZG%Ow5Q]  
struts.custom.properties P(z++A&  
      Location of additional configuration properties files to load  1HZO9cXJ  
      加载附加的配置文件的位置 ';=O 0)u  
=rCIumqD-}  
pD#rnp>WWt  
struts.devMode [mGLcg6Fw  
      Whether Struts is in development mode or not M1iS(x  
      是否为struts开发模式 )f<z% :I+Z  
m-"w0Rl1T  
struts.dispatcher.parametersWorkaround 3x'|]Ns  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic W]5w \  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *itUWpNhr  
_t #k,;  
struts.enable.DynamicMethodInvocation 9c :cw  
      Allows one to disable dynamic method invocation from the URL ` v@m-j6  
        允许动态方法调用 Ge-vWf-RbB  
Y#P%6Fy  
struts.freemarker.manager.classname @7j AL-  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class C={Y;C1  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 VZmLS 4E  
@'!SN\?W8  
struts.i18n.encoding D\NKC@(M  
      The encoding to use for localization messages l&Q`wR5e  
      国际化信息内码 h'&%>Q2  
W+ko q*P  
struts.i18n.reload Y^EcQzLw  
      Whether the localization messages should automatically be reloaded i5Yb`Z[Y  
      是否国际化信息自动加载 l#Y,R 0  
X LOh7(  
struts.locale D2B%0sfl~  
      The default locale for the Struts application k5.Lna  
      默认的国际化地区信息 X))/ m[_[  
<s<n  
struts.mapper.class S2GxV/E  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class xBi' X  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .MoU1n{Yc  
")XHak.JX  
struts.multipart.maxSize ~;{; ,8!)  
      The maximize size of a multipart request (file upload) G^4hd i3@  
      multipart请求信息的最大尺寸(文件上传用) '^~{@~ ;%L  
65$+{s  
struts.multipart.parser *VhL\IjN]  
      The org.apache.struts2.dispatcher.multipart. MJ [m  
      MultiPartRequest parser implementation for a multipart request (file upload) "Nbq#w\  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8(&[Rs?K  
/zVOK4BqN+  
%%gc2s  
struts.multipart.saveDir %^GfS@t  
      The directory to use for storing uploaded files ARwD~ Tr  
      设置存储上传文件的目录夹 8ek@: Mw  
W^LY'ypT  
struts.objectFactory ( !fKNia@S  
      The com.opensymphony.xwork2.ObjectFactory implementation class :Cs4NF   
      com.opensymphony.xwork2.ObjectFactory接口(spring) BdblLUGK#  
cZU=o\  
struts.objectFactory.spring.autoWire k(7&N0V%zz  
      Whether Spring should autoWire or not lKp"xcAD  
      是否自动绑定Spring .P%bkD6M  
`1{ZqRFQ  
struts.objectFactory.spring.useClassCache F]]]y5t  
      Whether Spring should use its class cache or not /,&<6c-Q@W  
      是否spring应该使用自身的cache =O_4|7Zl  
`l){!rg8IC  
struts.objectTypeDeterminer KD7dye  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]uJ"?k=  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {|_M # w~&  
 zC@o  
struts.serve.static.browserCache Yz"#^j}Kg  
If static content served by the Struts filter should set browser caching header properties or not })8N5C+KU  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `WFw3TI  
aPfO$b:  
struts.serve.static J1RJ*mo7,  
      Whether the Struts filter should serve static content or not GmEJhr.3`=  
      是否struts过滤器应该提供静态内容 cyv`B3}  
4n g]\ituS  
struts.tag.altSyntax JZ*/,|1}EC  
      Whether to use the alterative syntax for the tags or not BmMGx8P  
      是否可以用替代的语法替代tags u9GQU  
L<-_1!wh  
struts.ui.templateDir FvXZ<(A{  
      The directory containing UI templates )E@.!Ut4o  
      UI templates的目录夹 {9;CNsd  
>#~& -3  
struts.ui.theme >j(_[z|v3  
      The default UI template theme cr?Q[8%t1  
      默认的UI template主题 (\hx` Yh=>  
7#ibN!  
struts.url.http.port q#ClnG*  
      The HTTP port used by Struts URLs Ou!2 [oe@M  
      设置http端口 X0H!/SlS  
{V$|3m>:*  
struts.url.https.port xPk8$1meZM  
      The HTTPS port used by Struts URLs O%zU-_|*  
      设置https端口 Cc' 37~6~P  
AFDq}*2Qb  
struts.url.includeParams G"U9E5O  
      The default includeParams method to generate Struts URLs YYl4"l  
      在url中产生 默认的includeParams ~tUl}  
kmsb hYM)  
eH3JyzzP,  
struts.velocity.configfile &5spTMw8  
      The Velocity configuration file path O-~ 7b(Z  
      velocity配置文件路径 &<5zqsNJ\a  
wh\}d4gN  
struts.velocity.contexts 2"kLdD  
      List of Velocity context names YY((V@|K  
      velocity的context列表 7BjJhs  
(Hz^)5(~  
ZaDyg"Tw+  
struts.velocity.manager.classname )oDHeU<&  
      org.apache.struts2.views.velocity.VelocityManager implementation class |\<`Ib4j  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~'iHo]9O  
'()xHEGl3  
struts.velocity.toolboxlocation }=UHbU.n~!  
      The location of the Velocity toolbox ?'Xj g#}<  
      velocity工具盒的位置 F2dHH^  
struts.xslt.nocache ogtEAv~e7N  
      Whether or not XSLT templates should not be cached rEnQYz  
      是否XSLT模版应该被缓存 U;V7 u/{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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