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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 S{sJX5R;  
[;E~A  
struts.action.extension K< ;I*cAX  
      The URL extension to use to determine if the request is meant for a Struts action Ns*&;x9  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Rb8wq.LqD  
?df*Y5I2  
struts.configuration X,Q'Xe /  
      The org.apache.struts2.config.Configuration implementation class "%~Jb dx  
        org.apache.struts2.config.Configuration接口名 2(<2Gnpl  
Q=+*OQV29  
struts.configuration.files @Z fQ)q\  
      A list of configuration files automatically loaded by Struts WLB@]JvTBY  
      struts自动加载的一个配置文件列表 f7mN,_Lt  
v*&WxP^Gm  
struts.configuration.xml.reload )rqb<O  
      Whether to reload the XML configuration or not KO~_  
      是否加载xml配置(true,false) cU+% zk  
^5:xSQ@:  
struts.continuations.package zOEdFU{x  
      The package containing actions that use Rife continuations 3/j^Ao\fw  
      含有actions的完整连续的package名称 m7|}PH" 7  
VX;br1$X  
struts.custom.i18n.resources fH#*r|~  
      Location of additional localization properties files to load Hw(_l,Xf  
      加载附加的国际化属性文件(不包含.properties后缀) gHB*u!w7Z  
e)#O-y  
struts.custom.properties f<$>?o&y  
      Location of additional configuration properties files to load 91Fx0(  
      加载附加的配置文件的位置 z;#DX15Rj  
h.~:UR*   
3 W%Bsqn  
struts.devMode n[mVwQ(%  
      Whether Struts is in development mode or not qt.G_fOz  
      是否为struts开发模式 hI^Hqv  
]+!{^h$  
struts.dispatcher.parametersWorkaround 6ojEEM  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic N>+s8L.?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vz[-8m:f  
Q7~9~  
struts.enable.DynamicMethodInvocation Y%i=u:}fm  
      Allows one to disable dynamic method invocation from the URL rmzM}T\20  
        允许动态方法调用 =Fd!wkB'{  
]z%X%wL  
struts.freemarker.manager.classname HZG^o^o1l+  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `2B,+ytW8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 0c$0<2D%  
ek^=Z`  
struts.i18n.encoding BkH- d z  
      The encoding to use for localization messages w[WyT`6h!  
      国际化信息内码 sp/l-a  
e13{G @  
struts.i18n.reload 9L"Z ~CUL  
      Whether the localization messages should automatically be reloaded lJ'. 1Z&  
      是否国际化信息自动加载 [\Ks+S  
%X--`91|u  
struts.locale tiTJ.uz6  
      The default locale for the Struts application `YK2hr  
      默认的国际化地区信息 [32]wgw+{1  
$RFy9(>  
struts.mapper.class *tWZ.I<<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class HB>&}z0  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 o!\Q,  
d>RoH]K4  
struts.multipart.maxSize (.CEEWj%{  
      The maximize size of a multipart request (file upload) 61XLL/=P  
      multipart请求信息的最大尺寸(文件上传用) x34 4}\  
P  -O& X  
struts.multipart.parser \~LwlOo%R  
      The org.apache.struts2.dispatcher.multipart. >nqDUGnEo>  
      MultiPartRequest parser implementation for a multipart request (file upload) 0ESxsba  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) oCCTRLb02  
\),DW)  
Y<x;-8)*  
struts.multipart.saveDir Wk0"U V  
      The directory to use for storing uploaded files lj U|9|v  
      设置存储上传文件的目录夹 \$g,Hgp/<  
/K@_O\+;Q  
struts.objectFactory ;fdROI  
      The com.opensymphony.xwork2.ObjectFactory implementation class dGNg[  
      com.opensymphony.xwork2.ObjectFactory接口(spring) a/ k0(  
)1EF7.|  
struts.objectFactory.spring.autoWire Z4"SKsJT/>  
      Whether Spring should autoWire or not w%3R[Kdzk  
      是否自动绑定Spring <hJ%]]  
2 SJ N;A~}  
struts.objectFactory.spring.useClassCache &=KNKE`  
      Whether Spring should use its class cache or not cC NyW2'  
      是否spring应该使用自身的cache <kmH^ viX  
6*{sZMG  
struts.objectTypeDeterminer z-J?x-<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class vFz#A/1  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -MCDX^ >P  
1+{V^) V?  
struts.serve.static.browserCache cLZaQsS%  
If static content served by the Struts filter should set browser caching header properties or not ,>AA2@6zMT  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N084k}io  
"1-gMob  
struts.serve.static q2 pq~LI  
      Whether the Struts filter should serve static content or not wT taj08D  
      是否struts过滤器应该提供静态内容 MYmH?A  
ik;S!S\v  
struts.tag.altSyntax ^z _m<&r  
      Whether to use the alterative syntax for the tags or not f3p)Q<H>`(  
      是否可以用替代的语法替代tags 0tFR. sS?  
.$rt>u,8<  
struts.ui.templateDir :Sd"~\N+  
      The directory containing UI templates (FY<% .Pa  
      UI templates的目录夹 6>hW.aq}  
O1 KT  
struts.ui.theme Jtv~n  
      The default UI template theme GY~Q) Z  
      默认的UI template主题 (L2:|1P)  
3jJd)C R  
struts.url.http.port RyN}Gz/YN  
      The HTTP port used by Struts URLs d,"6s=4(q  
      设置http端口 `1hM3N.nO  
88}=VS  
struts.url.https.port l)d(N7HME  
      The HTTPS port used by Struts URLs 1B5 ]1&M  
      设置https端口 s (hJ *  
iVQ)hs W/  
struts.url.includeParams B< 6E'  
      The default includeParams method to generate Struts URLs T+q3]&  
      在url中产生 默认的includeParams E[nJ'h<h  
v=Y) A?  
|_H{ B+.  
struts.velocity.configfile %"C%pA  
      The Velocity configuration file path 6z-&Zu7@  
      velocity配置文件路径 `:4bg1u  
7/UdE:~]*=  
struts.velocity.contexts i+Fk  
      List of Velocity context names R|,F C'  
      velocity的context列表 PIthv [F  
op|:XLR5  
!ot$Q  
struts.velocity.manager.classname =a]B#uUn  
      org.apache.struts2.views.velocity.VelocityManager implementation class  z^YL$  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?04$1n:  
R3<2Z0lqy  
struts.velocity.toolboxlocation "AayU  
      The location of the Velocity toolbox %ylpn7I\6  
      velocity工具盒的位置 YZHqy++x  
struts.xslt.nocache @8$3Q,fF(  
      Whether or not XSLT templates should not be cached ;/- X;!a>  
      是否XSLT模版应该被缓存 h{BO\^6x  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八