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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 U["'>&B  
J!YB_6b  
struts.action.extension .hPk}B/KV  
      The URL extension to use to determine if the request is meant for a Struts action =ss(~[  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8eGq.+5G  
k[#<=G_=/E  
struts.configuration ae_Y?g+3  
      The org.apache.struts2.config.Configuration implementation class R6eKI,y\"  
        org.apache.struts2.config.Configuration接口名 NGIt~"e7R4  
`n)e] dn  
struts.configuration.files d< j+a1&  
      A list of configuration files automatically loaded by Struts 8A'oK8Q  
      struts自动加载的一个配置文件列表 QM wrt  
@komb IK  
struts.configuration.xml.reload AAuH}W>n  
      Whether to reload the XML configuration or not >BFUts%  
      是否加载xml配置(true,false) }$ C;ccWL  
Kg?(Ax4  
struts.continuations.package "Te[R%aP  
      The package containing actions that use Rife continuations 8~* |muN.e  
      含有actions的完整连续的package名称 [ *P~\' U  
S8>1l?UH  
struts.custom.i18n.resources >h)D~U(H  
      Location of additional localization properties files to load &|MdBJ  
      加载附加的国际化属性文件(不包含.properties后缀) wo>7^ZA  
,58XLu  
struts.custom.properties {8]Yqx)1]]  
      Location of additional configuration properties files to load @:s (L]  
      加载附加的配置文件的位置 tx`gXtO$  
BRSI g]  
inQ1 $   
struts.devMode {+Zj}3o  
      Whether Struts is in development mode or not ^`iqa-1  
      是否为struts开发模式 ^jh c(ZW"  
GW{e"b/x  
struts.dispatcher.parametersWorkaround &;3iHY;  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic IX+!+XC"U  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) HD%n'@E  
D`hl}  
struts.enable.DynamicMethodInvocation C}jFR] x)  
      Allows one to disable dynamic method invocation from the URL l/xpAx  
        允许动态方法调用 E>_N|j)9  
fbg:rH\_  
struts.freemarker.manager.classname Dm{9;Abs%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class p ; ]Qxh  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 }vK8P r%  
>dK# tsp  
struts.i18n.encoding nz2`YyR  
      The encoding to use for localization messages W79Sz}):  
      国际化信息内码 FHbyL\Q  
t4d^DZDh!  
struts.i18n.reload yRAfIB$T}"  
      Whether the localization messages should automatically be reloaded @js`$  
      是否国际化信息自动加载 SL[EOz#  
n?(sn  
struts.locale {Qba`lOkq  
      The default locale for the Struts application z&wJ"[nOC  
      默认的国际化地区信息 &TT vX% T  
He9Er  
struts.mapper.class #=uV, dw  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class mswAao<y&x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 dkWV/DAm  
|1%eo.  
struts.multipart.maxSize &v)/mc7D  
      The maximize size of a multipart request (file upload) do[w&`jw8  
      multipart请求信息的最大尺寸(文件上传用) x1`4hB  
"W^+NeLc  
struts.multipart.parser gT_tR_g  
      The org.apache.struts2.dispatcher.multipart. h~pQ  
      MultiPartRequest parser implementation for a multipart request (file upload) 6c6w w"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) LK|1[y^h  
W:VX^8</  
;:  xE'-  
struts.multipart.saveDir kxCN0e#_  
      The directory to use for storing uploaded files :@4+}  
      设置存储上传文件的目录夹 {F=`IE3)w  
]bP1gV(b-  
struts.objectFactory JA09 o(  
      The com.opensymphony.xwork2.ObjectFactory implementation class :JXGgl<y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]P*H,&I`#  
U! $/'Xi9  
struts.objectFactory.spring.autoWire qDS~|<Y5  
      Whether Spring should autoWire or not <5!)5+G  
      是否自动绑定Spring \_)[FC@  
M{t/B-'4  
struts.objectFactory.spring.useClassCache :z-?L0C=0  
      Whether Spring should use its class cache or not fl8eNi E|  
      是否spring应该使用自身的cache uCx6/ n6'  
ujWC!*W(Q  
struts.objectTypeDeterminer oD3]2o/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9\Md.>  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $9@3dM*E?Z  
Y )68  
struts.serve.static.browserCache GYrUB59  
If static content served by the Struts filter should set browser caching header properties or not ly`\TnC  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 R$x(3eyx  
(c S'Nm5  
struts.serve.static SaOOD-u  
      Whether the Struts filter should serve static content or not mtf><YU  
      是否struts过滤器应该提供静态内容 *|OUd7P:hU  
m KJO?7tj  
struts.tag.altSyntax QL\3|'a  
      Whether to use the alterative syntax for the tags or not e7yn"kd  
      是否可以用替代的语法替代tags /Yj; '\3  
pS "A{k)i  
struts.ui.templateDir *SYuq)  
      The directory containing UI templates 4N)45@jk[  
      UI templates的目录夹 F?Fxm*Wa/  
UNA!vzOb  
struts.ui.theme  _ 'K6S  
      The default UI template theme Y,m=&U  
      默认的UI template主题 m~tv{#Y  
J u"/#@  
struts.url.http.port Wb5n> *  
      The HTTP port used by Struts URLs N97WI+`  
      设置http端口 mUfANlQ:  
zG7y$\A  
struts.url.https.port swg*fhJFB  
      The HTTPS port used by Struts URLs L*6>S_l[  
      设置https端口 F6ZL{2$k@  
I K,aA;d  
struts.url.includeParams /tJ%gF  
      The default includeParams method to generate Struts URLs m0*_  
      在url中产生 默认的includeParams 3 jghV?I{T  
-+0!Fkt@,  
&23{(]eO  
struts.velocity.configfile geNvp0  
      The Velocity configuration file path &r!jjT  
      velocity配置文件路径 ] V,#>'  
ft$ 'UJ% j  
struts.velocity.contexts l]L"Ex{  
      List of Velocity context names $VeQvm*  
      velocity的context列表 L;U?s2&Y  
$*j)ey>  
t; @T~%  
struts.velocity.manager.classname Dc3bG@K*G  
      org.apache.struts2.views.velocity.VelocityManager implementation class 7Q|v5@;pU  
      org.apache.struts2.views.velocity.VelocityManager接口名 .X"\ Mg  
^@$T>SB1  
struts.velocity.toolboxlocation |H%,>r`9S  
      The location of the Velocity toolbox o;v_vCLO  
      velocity工具盒的位置 -+Z&O?pSH  
struts.xslt.nocache loD:4e1  
      Whether or not XSLT templates should not be cached S Q`KR'E  
      是否XSLT模版应该被缓存 J@IF='{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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