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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;80^ GDk~S  
OD9z7*E@  
struts.action.extension *7E#=xb  
      The URL extension to use to determine if the request is meant for a Struts action 8{i O#C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 zn>+ \  
wBvVY3VQ^  
struts.configuration vz~Oi  
      The org.apache.struts2.config.Configuration implementation class @mJ~?d95v  
        org.apache.struts2.config.Configuration接口名 Mg2e0}{  
z)(W x">  
struts.configuration.files Rx.v/H  
      A list of configuration files automatically loaded by Struts '$c9S[  
      struts自动加载的一个配置文件列表 `yP`5a/  
g60k R7;\  
struts.configuration.xml.reload l2kGFgc  
      Whether to reload the XML configuration or not DJ DQH\&  
      是否加载xml配置(true,false) #N"u 0  
lWe cxD$  
struts.continuations.package "%)g^Atp>  
      The package containing actions that use Rife continuations KIi:5Y  
      含有actions的完整连续的package名称 "g)V&Lx#X  
\ @ fKKb|  
struts.custom.i18n.resources =7JSJ98  
      Location of additional localization properties files to load x. #E3xI  
      加载附加的国际化属性文件(不包含.properties后缀) gXlcB~!  
x9AFN  
struts.custom.properties #%2d;V  
      Location of additional configuration properties files to load yx|{:Li!  
      加载附加的配置文件的位置 qDG2rFu&[  
T@=C2 1  
ggL/7I(  
struts.devMode + c+i u6+"  
      Whether Struts is in development mode or not 2l O(f+  
      是否为struts开发模式 ^86M 94k  
zPc"r$'0 U  
struts.dispatcher.parametersWorkaround x+j@YWDpG"  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic */l;e<E  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2Kf/Id1  
^;'8yE/  
struts.enable.DynamicMethodInvocation &y}7AV  
      Allows one to disable dynamic method invocation from the URL ,:e~aG,B  
        允许动态方法调用 J8!2Tt  
{x?qz~W  
struts.freemarker.manager.classname p0WUF\"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ccrWk*tr  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 tsJR:~  
M2-`p  
struts.i18n.encoding SAdE9L =d  
      The encoding to use for localization messages ^?Mp(o  
      国际化信息内码 @lF?+/=$  
t^KQ*8clG  
struts.i18n.reload . }/8 ]  
      Whether the localization messages should automatically be reloaded $L 8>Ha}  
      是否国际化信息自动加载 rD~/]y)t  
.wD $Bsm`t  
struts.locale `!/[9Y#Hp  
      The default locale for the Struts application L/[VpD  
      默认的国际化地区信息 $3 P De  
pa1<=w  
struts.mapper.class 5E-;4o;RI(  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M2|!,2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 A1INaL  
ZX` \so,&,  
struts.multipart.maxSize O-X(8<~H=  
      The maximize size of a multipart request (file upload) Xg96I: r'p  
      multipart请求信息的最大尺寸(文件上传用) :Y\ ~[Y  
**L&I5Hhm  
struts.multipart.parser p X{wEc6}  
      The org.apache.struts2.dispatcher.multipart. jwT` Z  
      MultiPartRequest parser implementation for a multipart request (file upload) gDVsi  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .@E5dw5  
DPjs? M<  
Lo%vG{yTr  
struts.multipart.saveDir -dixiJ=  
      The directory to use for storing uploaded files s`_EkFw>Gl  
      设置存储上传文件的目录夹 h/t;ZLUAZP  
(<r)xkn  
struts.objectFactory tg@61V?>  
      The com.opensymphony.xwork2.ObjectFactory implementation class >jsY'Bm  
      com.opensymphony.xwork2.ObjectFactory接口(spring) U?sHh2*  
Tj#S')s8  
struts.objectFactory.spring.autoWire < j:\;mi;  
      Whether Spring should autoWire or not 12z!{k7N  
      是否自动绑定Spring oj - `G  
le\-h'D  
struts.objectFactory.spring.useClassCache n2bhCd]j<b  
      Whether Spring should use its class cache or not iRnjN  
      是否spring应该使用自身的cache 46}U +>  
pOXI*0_g.  
struts.objectTypeDeterminer h(HpeN%`#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5[Vr {^)  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 SK\@w9#&$  
@  W>@6E  
struts.serve.static.browserCache =|]h-[P'  
If static content served by the Struts filter should set browser caching header properties or not 5[jcw`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .oyAi||  
T0tX%_6`  
struts.serve.static Y2x|6{ #  
      Whether the Struts filter should serve static content or not Gu*y7I8  
      是否struts过滤器应该提供静态内容 2L~Vr4eHG  
{6v.(Zlh$  
struts.tag.altSyntax TQT3]h6  
      Whether to use the alterative syntax for the tags or not bO\++zOF  
      是否可以用替代的语法替代tags ^x\VMd3*w  
P+o"]/7U  
struts.ui.templateDir |CDM(g>%  
      The directory containing UI templates /AD&z?My+E  
      UI templates的目录夹 j~k,d.17M  
/e0B$UymFu  
struts.ui.theme dn#I,xa`  
      The default UI template theme f?UI+TU  
      默认的UI template主题 k9}8xpH  
%=UD~5!G0  
struts.url.http.port BA c+T  
      The HTTP port used by Struts URLs KMj\A d  
      设置http端口 }#FV{C]  
wuH*a3(  
struts.url.https.port +Ww] %`_  
      The HTTPS port used by Struts URLs MW 7~=T  
      设置https端口 * @4@eQF  
9fEe={ B+  
struts.url.includeParams 'Gn>~m  
      The default includeParams method to generate Struts URLs T]De{nHu  
      在url中产生 默认的includeParams SA +d4P_T  
>J7slDRo  
FMVAXOO  
struts.velocity.configfile lV$JCNe  
      The Velocity configuration file path LS[o7!T(  
      velocity配置文件路径 \#HW.5  
JD$g%hcVZa  
struts.velocity.contexts YGo?%.X  
      List of Velocity context names  4u:SE   
      velocity的context列表 }gkLO TJ/,  
tn5%zJ#+  
$xWwI( SaB  
struts.velocity.manager.classname eL}w{Hlk T  
      org.apache.struts2.views.velocity.VelocityManager implementation class eTa_RO,x  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,ErfTg&^  
zWEPwOlI1P  
struts.velocity.toolboxlocation  O`@Nl  
      The location of the Velocity toolbox Fa%1] R  
      velocity工具盒的位置 lnyb4d/  
struts.xslt.nocache eM<N?9s  
      Whether or not XSLT templates should not be cached kkq1:\pZ]a  
      是否XSLT模版应该被缓存 ab2FK  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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