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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 1<73uR&b%  
oo2d,  
struts.action.extension ls:oC},p*  
      The URL extension to use to determine if the request is meant for a Struts action ^M6lF5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e 9RYk:O  
[V:~j1{3  
struts.configuration QwWd"Of  
      The org.apache.struts2.config.Configuration implementation class p? o[+L<  
        org.apache.struts2.config.Configuration接口名 k:run2K  
;z.niX.fx  
struts.configuration.files mu@J$\   
      A list of configuration files automatically loaded by Struts O_a^|ln&  
      struts自动加载的一个配置文件列表 {FI*oO1A~  
@QVg5  
struts.configuration.xml.reload S\N1qux{  
      Whether to reload the XML configuration or not Rh|9F yN  
      是否加载xml配置(true,false) "%Y=+  
c_*w<vJ-'  
struts.continuations.package -'d:~:1f  
      The package containing actions that use Rife continuations yiC7)=  
      含有actions的完整连续的package名称 s. A}ydtt  
y< *-&  
struts.custom.i18n.resources rY45.,qWs  
      Location of additional localization properties files to load mLZ1u\ 7W  
      加载附加的国际化属性文件(不包含.properties后缀) G@`F{l  
X\ P%C  
struts.custom.properties -i2rcH  
      Location of additional configuration properties files to load b|Emu!9U  
      加载附加的配置文件的位置 .waw=C  
'Tjvq%ks   
Ld}?daPj  
struts.devMode Fb]+h)on  
      Whether Struts is in development mode or not !P=Cv=  
      是否为struts开发模式 VZWo.Br'W  
* &:_Vgu  
struts.dispatcher.parametersWorkaround [5?Dov^j 3  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic MVzuE}  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) f1ANziC;i  
ai sa2#  
struts.enable.DynamicMethodInvocation XlU\D}zS  
      Allows one to disable dynamic method invocation from the URL "Esl I  
        允许动态方法调用 WSH[*jMA  
FefroaJ:u  
struts.freemarker.manager.classname n>q!m@ }<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %T]^,y$n  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 K9k!P8Rd  
Q*>)W{H&)  
struts.i18n.encoding x5Lbe5/P  
      The encoding to use for localization messages *7h~0%WR  
      国际化信息内码 b+|Jw\k  
@}d;-m~  
struts.i18n.reload ~ #3{5* M  
      Whether the localization messages should automatically be reloaded M.mn9kw`  
      是否国际化信息自动加载 nTr%S&<+"  
W34xrm  
struts.locale F1@Po1VTD  
      The default locale for the Struts application kx;X:I(5&P  
      默认的国际化地区信息 3?*d v14  
2 3PRb<q  
struts.mapper.class -|m3=#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class JK =A=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 IHO*%3mA/  
bLai@mL&a  
struts.multipart.maxSize e`qrafa  
      The maximize size of a multipart request (file upload) V'XEz;Ze  
      multipart请求信息的最大尺寸(文件上传用) ?^%[*OCCC!  
"frZ%mv  
struts.multipart.parser bzNnEH`^]  
      The org.apache.struts2.dispatcher.multipart. ?`U_|Yo  
      MultiPartRequest parser implementation for a multipart request (file upload) xOe1v9<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) UGO;5!  
XMI*obS'z  
]LC4rS  
struts.multipart.saveDir hI86WP9*  
      The directory to use for storing uploaded files F0U %m   
      设置存储上传文件的目录夹 }MRgNr'k  
0#J~@1Gf  
struts.objectFactory 1z6aMd6.  
      The com.opensymphony.xwork2.ObjectFactory implementation class Z\IM~-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) y 9]d{:9  
C{J5:ak  
struts.objectFactory.spring.autoWire LBy`N_@  
      Whether Spring should autoWire or not Qjj }k)  
      是否自动绑定Spring ES+ CAwqf  
pKc!sd C  
struts.objectFactory.spring.useClassCache  _'!?fA  
      Whether Spring should use its class cache or not kuH%aM<R  
      是否spring应该使用自身的cache ;]-08lzO<4  
dP8qP_77A~  
struts.objectTypeDeterminer kT@ITA22  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dA h cA.  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $k\bP9  
vTK%8qoZ  
struts.serve.static.browserCache k2D*`\ D  
If static content served by the Struts filter should set browser caching header properties or not tw$EwNI[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 J=3{<Xl  
4P3RRS  
struts.serve.static / 3N2?zS{  
      Whether the Struts filter should serve static content or not k _V+;&:%  
      是否struts过滤器应该提供静态内容 D", L.  
]2@(^x'=  
struts.tag.altSyntax >`x|E-X"  
      Whether to use the alterative syntax for the tags or not qIZ+%ZOu  
      是否可以用替代的语法替代tags pWRdI_  
0vqH-)}  
struts.ui.templateDir y$R8J:5f  
      The directory containing UI templates 9A.NM+u7  
      UI templates的目录夹 ]20:8l'  
M +OVqTsFU  
struts.ui.theme %HG+ |)b  
      The default UI template theme 7He"IJ  
      默认的UI template主题 kC.dJ2^j+  
-w"I  
struts.url.http.port o!BCR:  
      The HTTP port used by Struts URLs &s`)_P[  
      设置http端口 F-3=eKZ  
NRx 7S 9W  
struts.url.https.port v)du]  
      The HTTPS port used by Struts URLs 9Ad%~qciY  
      设置https端口 1!1JT;gG^9  
|Gz<I  
struts.url.includeParams ([q>.[WbH]  
      The default includeParams method to generate Struts URLs V4R s  
      在url中产生 默认的includeParams { }/  
#-B<u-  
%6cr4}Zm}  
struts.velocity.configfile `C>h]H(  
      The Velocity configuration file path pqO3(2F9  
      velocity配置文件路径 bDvGFSAH  
j>JBZ#g  
struts.velocity.contexts d8: $ll  
      List of Velocity context names }6[jJ`=gOx  
      velocity的context列表 _|C3\x1c  
I'P|:XKI  
_K9PA[m5 ~  
struts.velocity.manager.classname 3J"`mQ  
      org.apache.struts2.views.velocity.VelocityManager implementation class HAO-|=c4  
      org.apache.struts2.views.velocity.VelocityManager接口名 (>0`e8v!  
KcV"<9rE  
struts.velocity.toolboxlocation z#Jw?K_  
      The location of the Velocity toolbox l5w^rj  
      velocity工具盒的位置 tQzbYzGb7  
struts.xslt.nocache @M\JzV4 A[  
      Whether or not XSLT templates should not be cached C,W@C  
      是否XSLT模版应该被缓存 c:K/0zY  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五