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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 L =kc^dU  
wf= s-C  
struts.action.extension y ;$8C  
      The URL extension to use to determine if the request is meant for a Struts action ZM~kc|&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >O:31Uk  
7 q%|-`#  
struts.configuration ;hsem,C h7  
      The org.apache.struts2.config.Configuration implementation class w!=Fi  
        org.apache.struts2.config.Configuration接口名 2K Um(B.I  
38[ko 3  
struts.configuration.files +@QN)ZwVy  
      A list of configuration files automatically loaded by Struts EP|OKXRltA  
      struts自动加载的一个配置文件列表 z`^DQ8+\j  
ZDI%?.U  
struts.configuration.xml.reload Ev R6^n/  
      Whether to reload the XML configuration or not >Y h7By  
      是否加载xml配置(true,false) n8!qz:z/  
?ep'R&NV  
struts.continuations.package 0 tZ>yR  
      The package containing actions that use Rife continuations qJQ!e  
      含有actions的完整连续的package名称 ,EAf/2C  
mv,<#<-W  
struts.custom.i18n.resources B4<W%lm  
      Location of additional localization properties files to load RO([R=.`/  
      加载附加的国际化属性文件(不包含.properties后缀) vu&%e\gM  
%|3I|'%Y  
struts.custom.properties TJB) ]d<  
      Location of additional configuration properties files to load lR^OS*v  
      加载附加的配置文件的位置 p;GT[Ds^  
[F^qa/vJ10  
vBM uVpzO  
struts.devMode 5i+0GN3nd  
      Whether Struts is in development mode or not R3G+tE/Y  
      是否为struts开发模式 ;Jn"^zT  
1;\A./FVv  
struts.dispatcher.parametersWorkaround g=*`6@_=  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic w/L^w50pt  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) T[z]~MJL  
(|6Y1``  
struts.enable.DynamicMethodInvocation \WDL?(G<  
      Allows one to disable dynamic method invocation from the URL ]8}+%P,Q  
        允许动态方法调用 Lv`*+;1 K  
WMo   
struts.freemarker.manager.classname 4>uy+"8PO  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class kHO2&"6  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ndSM*Fq  
Y: ~A-_  
struts.i18n.encoding PY4RwN  
      The encoding to use for localization messages M  `QYrH  
      国际化信息内码 J3]W2m2Zw  
K/2k/\Jk[_  
struts.i18n.reload ')d&:K*M  
      Whether the localization messages should automatically be reloaded _f~(g1sE  
      是否国际化信息自动加载 QF  P3S(  
z/JoU je  
struts.locale N2?o6)  
      The default locale for the Struts application AoaRlk-#  
      默认的国际化地区信息 #Ub"Ii  
'IorjR@ 40  
struts.mapper.class 4Y):d!'b  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class v^Eg ,&(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ub0hISA  
E%eTjvvxus  
struts.multipart.maxSize D 8nt%vy  
      The maximize size of a multipart request (file upload) *K9I+t"g  
      multipart请求信息的最大尺寸(文件上传用) thoAEG80  
kOe %w-_  
struts.multipart.parser -BY'E$]4  
      The org.apache.struts2.dispatcher.multipart. )'<B\P/  
      MultiPartRequest parser implementation for a multipart request (file upload) U Hej5-B  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) dmq<vVxC  
R^}}-Dv r  
j@kL`Q\&I  
struts.multipart.saveDir }Pm>mQZ},  
      The directory to use for storing uploaded files D;f[7Cac  
      设置存储上传文件的目录夹 +3HukoR(  
| HkLl^  
struts.objectFactory ?'xTSAn  
      The com.opensymphony.xwork2.ObjectFactory implementation class b-/ztZ@u  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]r #YU0  
'C l}IDF  
struts.objectFactory.spring.autoWire CaX0Jlk*  
      Whether Spring should autoWire or not K3eYeXV  
      是否自动绑定Spring lpW|GFG  
JvA6kw,  
struts.objectFactory.spring.useClassCache i|'M'^3r  
      Whether Spring should use its class cache or not _3q%  
      是否spring应该使用自身的cache NDG3mCl  
Zk#^H*jgx  
struts.objectTypeDeterminer ;Nw.  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Km~\^(a '  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9Fe(],AzF  
'Ii%/ Ob!  
struts.serve.static.browserCache _1z|QC  
If static content served by the Struts filter should set browser caching header properties or not !i0jk,[B=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 dg%Orvuz  
btq`[gAF\  
struts.serve.static 8\-Q(9q(  
      Whether the Struts filter should serve static content or not Sz\"*W;>  
      是否struts过滤器应该提供静态内容 U] 2fV|Hn  
QjW7XVxB#N  
struts.tag.altSyntax B]PTe~n^  
      Whether to use the alterative syntax for the tags or not a:C'N4K  
      是否可以用替代的语法替代tags ,&S ^Ryc  
> ,L'A;c}  
struts.ui.templateDir >Z#=<  
      The directory containing UI templates ` [ EzU+  
      UI templates的目录夹 b P>!&s_  
xl%!7?G|$>  
struts.ui.theme {(}Mu R  
      The default UI template theme 39;Z+s";  
      默认的UI template主题 20hF2V  
1'5I]D ec  
struts.url.http.port q% Eze  
      The HTTP port used by Struts URLs '1)BZ!  
      设置http端口 !B==cNq  
/K mzi9j+  
struts.url.https.port ^(ks^<}  
      The HTTPS port used by Struts URLs I*e8 5wef  
      设置https端口 T^-fn  
QK0  
struts.url.includeParams e&dE>m  
      The default includeParams method to generate Struts URLs $!c)%qDq  
      在url中产生 默认的includeParams 2e}${NZN  
TlEx w0i!  
$tyF(RybG  
struts.velocity.configfile '3Ir(]Wfd  
      The Velocity configuration file path eTI<WFRc_  
      velocity配置文件路径 QDlEby m  
_S:6;_bz  
struts.velocity.contexts U;n$  
      List of Velocity context names }$W4aG*[  
      velocity的context列表 )^UM8 s  
?PNG@OK  
N> R abD  
struts.velocity.manager.classname sDnHd9v<?t  
      org.apache.struts2.views.velocity.VelocityManager implementation class Dm/# \y3  
      org.apache.struts2.views.velocity.VelocityManager接口名 -k{n"9a9?  
YmM+x=G:  
struts.velocity.toolboxlocation 3 $;6pY  
      The location of the Velocity toolbox 3kFOs$3  
      velocity工具盒的位置 ]=p@1  
struts.xslt.nocache *D ld?Q  
      Whether or not XSLT templates should not be cached ~YHy '.  
      是否XSLT模版应该被缓存 =whZ?,u1   
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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