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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -YvnX0j+  
K(jo[S  
struts.action.extension >^Rkk {cc  
      The URL extension to use to determine if the request is meant for a Struts action 5<64 C}fE3  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 w{F{7X$^  
|ppG*ee  
struts.configuration u%m,yPU ~B  
      The org.apache.struts2.config.Configuration implementation class RfoEHN  
        org.apache.struts2.config.Configuration接口名 j-]`;&L  
7pPaHX8  
struts.configuration.files Yzr)UJl*I  
      A list of configuration files automatically loaded by Struts 9-:\ NH^;  
      struts自动加载的一个配置文件列表 [vv $"$z  
,X`w/ 2O  
struts.configuration.xml.reload <|-da&7  
      Whether to reload the XML configuration or not T)c<tIr6  
      是否加载xml配置(true,false) ,J;Cb}  
@!'rsPrI  
struts.continuations.package a4d7;~tZ  
      The package containing actions that use Rife continuations \-?0ab3Z  
      含有actions的完整连续的package名称 L5[{taZ,  
;f?suawMv  
struts.custom.i18n.resources KC+jHk  
      Location of additional localization properties files to load ' % d-  
      加载附加的国际化属性文件(不包含.properties后缀) ~fnu;'fN  
_v6x3 Z  
struts.custom.properties TXL!5, X_  
      Location of additional configuration properties files to load E P3Vz8^  
      加载附加的配置文件的位置 b-8}TTL>  
Q DVk7ks  
r7ebFJEf  
struts.devMode bW-sTGjRD  
      Whether Struts is in development mode or not %eOO8^N  
      是否为struts开发模式 gOy;6\/  
l+nT$IPF  
struts.dispatcher.parametersWorkaround }G/!9Zq  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic UaCfXTG  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c-VIpA1  
B\54eTn  
struts.enable.DynamicMethodInvocation A3mvd-k  
      Allows one to disable dynamic method invocation from the URL ?3 S{>+'  
        允许动态方法调用 0Sj B&J  
9%Eo<+my h  
struts.freemarker.manager.classname %_@T'!]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class c7~'GXxQ2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 WAt= T3  
-I ?8\  
struts.i18n.encoding I+{2DY/}  
      The encoding to use for localization messages WQ+ xS!ba  
      国际化信息内码 dtj+ av G  
{8* d{0l  
struts.i18n.reload q_6fr$-Qh  
      Whether the localization messages should automatically be reloaded 2F+"v?n=\  
      是否国际化信息自动加载 ^mg:<_p  
I 12Zh7Cc:  
struts.locale H| _@9V  
      The default locale for the Struts application ?YMBZ   
      默认的国际化地区信息 `Se2f0",  
@t a:9wZ  
struts.mapper.class -u(,*9]cJ*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Lk!m1J5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \FUMfo^  
6J\ 2 =c`  
struts.multipart.maxSize }L(ZLt8Q  
      The maximize size of a multipart request (file upload) Y0Tad?iC  
      multipart请求信息的最大尺寸(文件上传用) Y=4 7se=h"  
Do77V5  
struts.multipart.parser 8k3y"239t  
      The org.apache.struts2.dispatcher.multipart. Wsgp#W+  
      MultiPartRequest parser implementation for a multipart request (file upload) qw$9i.Z  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]ag{sU@#  
Q5}XD  
s1E 0atT  
struts.multipart.saveDir tfe]=_U  
      The directory to use for storing uploaded files ",&QO 7_  
      设置存储上传文件的目录夹 F b?^+V]9  
(3K3)0fy  
struts.objectFactory ">G*hS  
      The com.opensymphony.xwork2.ObjectFactory implementation class t=X=",)f  
      com.opensymphony.xwork2.ObjectFactory接口(spring) HE35QH@/`  
nw\C+1F  
struts.objectFactory.spring.autoWire }AA">FF'y4  
      Whether Spring should autoWire or not ,p3]`MG  
      是否自动绑定Spring X4 ] miUmh  
eAo+w*D(  
struts.objectFactory.spring.useClassCache Gh/nNwyu<  
      Whether Spring should use its class cache or not #6 vf:94  
      是否spring应该使用自身的cache %g:'6%26  
Z1jxu;O(  
struts.objectTypeDeterminer 1)^\R(l  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =.7tS'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 EcL6lNTR+  
vQ* RrHG?c  
struts.serve.static.browserCache `kJ)E;v;3  
If static content served by the Struts filter should set browser caching header properties or not Pjk2tf0j`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]E-3/r$_cO  
xxyc^\$  
struts.serve.static $cK}Tl q  
      Whether the Struts filter should serve static content or not A yr ,  
      是否struts过滤器应该提供静态内容 :{N*Z}]  
U#c Gd\b  
struts.tag.altSyntax #Lpw8b6  
      Whether to use the alterative syntax for the tags or not  [Q{\Ik  
      是否可以用替代的语法替代tags %VFoK-a  
.Sn{a }XP4  
struts.ui.templateDir u4IK7[=  
      The directory containing UI templates $K!Jm7O\  
      UI templates的目录夹 QmjE\TcK/  
;&n iZKoe  
struts.ui.theme y%ij)vQY  
      The default UI template theme jhf# gdz%  
      默认的UI template主题 HA8A}d~  
\#(1IC`as  
struts.url.http.port SGSyO0O  
      The HTTP port used by Struts URLs 0uIY6e0E  
      设置http端口 Y ~g\peG7  
(_|*&au J  
struts.url.https.port haBmwq(f  
      The HTTPS port used by Struts URLs r&m49N,d  
      设置https端口 I]` RvT  
pJvPEKN  
struts.url.includeParams o_`6oC"s  
      The default includeParams method to generate Struts URLs '=vZAV`  
      在url中产生 默认的includeParams triU^uvh  
<zR{'7L/  
OA*O =  
struts.velocity.configfile cFw-JM<  
      The Velocity configuration file path 'bJGQ[c  
      velocity配置文件路径 Bkd$'7UT  
e)wi}\:q_  
struts.velocity.contexts _$96y]Bpi  
      List of Velocity context names ed`"xm  
      velocity的context列表 \894 Jqh  
=X?fA,  
U!o7Nw@ z  
struts.velocity.manager.classname ;.Bz'Q  
      org.apache.struts2.views.velocity.VelocityManager implementation class pdRM%ug   
      org.apache.struts2.views.velocity.VelocityManager接口名 ?/OF=C#  
b"A,q  
struts.velocity.toolboxlocation 0t? o6 e  
      The location of the Velocity toolbox o3dqsQE%  
      velocity工具盒的位置 )`rD]0ua;  
struts.xslt.nocache I4G0 !"T+  
      Whether or not XSLT templates should not be cached LWv<mtuYf  
      是否XSLT模版应该被缓存 b'\Q/;oz>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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