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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 GEy7Vb)  
BN]o!Y  
struts.action.extension 3HtM<su*h  
      The URL extension to use to determine if the request is meant for a Struts action I-!7 EC2{!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 kIS )*_  
_ -RqkRI  
struts.configuration gWU#NRRc  
      The org.apache.struts2.config.Configuration implementation class [VXQ&  
        org.apache.struts2.config.Configuration接口名 Ao ?b1VYy/  
@ xo8"kl  
struts.configuration.files 'L O3[G{  
      A list of configuration files automatically loaded by Struts -S]ercar  
      struts自动加载的一个配置文件列表 k0j4P^d  
$=\=80u/  
struts.configuration.xml.reload [/hoNCH!  
      Whether to reload the XML configuration or not WDxcV%  
      是否加载xml配置(true,false) yWZ_  
kXhd]7ru  
struts.continuations.package `TO Xkt j  
      The package containing actions that use Rife continuations )R `d x  
      含有actions的完整连续的package名称 *bpN!2  
E7h@Y~bNhW  
struts.custom.i18n.resources N:3=G`Ws  
      Location of additional localization properties files to load ?& :N|cltD  
      加载附加的国际化属性文件(不包含.properties后缀) I \1E=6"  
*%jXjTA0D  
struts.custom.properties U>!TM##1QD  
      Location of additional configuration properties files to load -n"f>c_{>  
      加载附加的配置文件的位置 aoW2c1`?Z  
3"Oipt+  
:K~@JlJd  
struts.devMode R-pON4D"*  
      Whether Struts is in development mode or not XO?WxL9k]  
      是否为struts开发模式 L>/$l(  
zZ-/S~l  
struts.dispatcher.parametersWorkaround g~21|Sa$[  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /xgC`]-  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) y'>9' /&  
Vr1r2G2  
struts.enable.DynamicMethodInvocation bl!pKOY  
      Allows one to disable dynamic method invocation from the URL l5^Q  
        允许动态方法调用 Yl au  
+/$&P3  
struts.freemarker.manager.classname ^-?^iWQ G  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (BH<\&yHE  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 n+=7u[AZi  
%6fnL~ A  
struts.i18n.encoding Nz{qu}dt  
      The encoding to use for localization messages &0T7Uv-`  
      国际化信息内码 ZJbaioc\  
-{*3<2rFK  
struts.i18n.reload Jityb}Z"  
      Whether the localization messages should automatically be reloaded OF1^_s;  
      是否国际化信息自动加载 BIMX2.S1o  
dAG@'A\f  
struts.locale a{7*um  
      The default locale for the Struts application >j]Gz-wC  
      默认的国际化地区信息 tC1'IE-h  
4 w*m]D{  
struts.mapper.class }L Q%%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class mgjcA5z  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 fGj66rMGw  
Se[=$W  
struts.multipart.maxSize F6CuY$0m=  
      The maximize size of a multipart request (file upload) D`41\#ti  
      multipart请求信息的最大尺寸(文件上传用) m-C#~Cp36  
*cFGDQ !  
struts.multipart.parser P)y2'JKL  
      The org.apache.struts2.dispatcher.multipart. }duqX R  
      MultiPartRequest parser implementation for a multipart request (file upload) arKf9`9  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) M3KK^YRN  
]D@aMC$#  
' $yy  
struts.multipart.saveDir r4FSQ$[9w  
      The directory to use for storing uploaded files vbd ;Je"  
      设置存储上传文件的目录夹 \0}bOHqEH  
5<GeAW8ns]  
struts.objectFactory O '#FVZ.g  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,%/F,O+#  
      com.opensymphony.xwork2.ObjectFactory接口(spring) e 0$m<5  
hUi5~;Q5Fi  
struts.objectFactory.spring.autoWire H]V(qq{  
      Whether Spring should autoWire or not L1` ^M  
      是否自动绑定Spring [Ti ' X#  
_{if"  
struts.objectFactory.spring.useClassCache ffB<qf)?G  
      Whether Spring should use its class cache or not 1F0];{a  
      是否spring应该使用自身的cache 56c3tgVF  
 ]E :L  
struts.objectTypeDeterminer - ]We|{  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }n^}%GB  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _,F\%}  
@ajdO/?(Y  
struts.serve.static.browserCache b-`P-  
If static content served by the Struts filter should set browser caching header properties or not ;gaTSYVe  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -1d$w`  
KIuj;|!q  
struts.serve.static CO ZfR~}  
      Whether the Struts filter should serve static content or not JeVbFZ8  
      是否struts过滤器应该提供静态内容 wuCZz{c7  
PCDvEbpG  
struts.tag.altSyntax 'q/C: Yo  
      Whether to use the alterative syntax for the tags or not w5-^Py  
      是否可以用替代的语法替代tags ~tNk\Kkv  
~P!=fU)  
struts.ui.templateDir =<M>fJ)  
      The directory containing UI templates o}wRgG  
      UI templates的目录夹 [D?xd/G  
%PR,TWe  
struts.ui.theme +=L+35M  
      The default UI template theme 9*"K+t:  
      默认的UI template主题 lzFg(Ds!f  
}]=A:*jD  
struts.url.http.port V~.SgbLc  
      The HTTP port used by Struts URLs \Ym$to  
      设置http端口 0^2e^qf  
5M8   
struts.url.https.port /f. ,xs!  
      The HTTPS port used by Struts URLs f~jd N~  
      设置https端口 h4slQq~K  
)=N.z6?  
struts.url.includeParams )zP"Uuu  
      The default includeParams method to generate Struts URLs L^s?EqLXS  
      在url中产生 默认的includeParams RHu,t5,  
z&qOu8Jh  
T sJ71  
struts.velocity.configfile /3"S_KE1@+  
      The Velocity configuration file path &7,/^ >">  
      velocity配置文件路径 f .h$jyp(  
BNJG-b|g^  
struts.velocity.contexts "1P2`Ep;  
      List of Velocity context names _ -ec(w~/  
      velocity的context列表 (d <pxx  
-%VFC^'5  
k]TJL9Q  
struts.velocity.manager.classname (Zy=e?E,  
      org.apache.struts2.views.velocity.VelocityManager implementation class N7s9"i  
      org.apache.struts2.views.velocity.VelocityManager接口名 k[1[Y{n.  
O1]XoUH<  
struts.velocity.toolboxlocation 9 771D  
      The location of the Velocity toolbox aO<H!hK  
      velocity工具盒的位置 cwUor}<|  
struts.xslt.nocache !VfVpi+-  
      Whether or not XSLT templates should not be cached )pey7-P7g5  
      是否XSLT模版应该被缓存 `AdHyE  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五