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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 'xta/@Sq  
{dxFd-K3  
struts.action.extension tMw65Xei6b  
      The URL extension to use to determine if the request is meant for a Struts action U5C]zswL  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 cg{5\ Vl  
T^4 dHG-(  
struts.configuration ;B@#,6t/  
      The org.apache.struts2.config.Configuration implementation class \:+\H0Bz  
        org.apache.struts2.config.Configuration接口名 :!_l@=l  
n#6{K6}k~  
struts.configuration.files PE5*]+lW.  
      A list of configuration files automatically loaded by Struts .F,l>wUNe  
      struts自动加载的一个配置文件列表 zg ,=A?  
&.E/%pQ`  
struts.configuration.xml.reload AO8 #l YP?  
      Whether to reload the XML configuration or not c>$d!IKCL  
      是否加载xml配置(true,false) [2,D]e  
I/w;4!+)  
struts.continuations.package H5 z1_O_+  
      The package containing actions that use Rife continuations r[(;J0=  
      含有actions的完整连续的package名称 6?u`u t  
Tz)Ku  
struts.custom.i18n.resources |m KohV qr  
      Location of additional localization properties files to load :,l16{^  
      加载附加的国际化属性文件(不包含.properties后缀) VEy]vr}  
sgO au\E  
struts.custom.properties E#_/#J]UQn  
      Location of additional configuration properties files to load no8\Oees  
      加载附加的配置文件的位置 "_&ZRcd*  
Y$>NsgQn6  
/Pe xtj<  
struts.devMode E0I/]0  
      Whether Struts is in development mode or not _]@u)$  
      是否为struts开发模式 cD]H~D}M  
DY#195H  
struts.dispatcher.parametersWorkaround w4P;Z-Cd  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }Hb0@ b_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /)kJ iV  
2V]a+Cgk  
struts.enable.DynamicMethodInvocation \i+AMduAo  
      Allows one to disable dynamic method invocation from the URL EPJ>@A>;D  
        允许动态方法调用 LilK6K  
B:X%k/{  
struts.freemarker.manager.classname S"*k#ao  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class sg=G<50i  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 xxs +=.2  
%l8!p'a  
struts.i18n.encoding Pd+*syOM  
      The encoding to use for localization messages ^ oav-R&  
      国际化信息内码 D]_6OlIE#'  
<cOjtq,0  
struts.i18n.reload VHPqEaR  
      Whether the localization messages should automatically be reloaded D SX%SE)  
      是否国际化信息自动加载 }>M\iPO.]*  
v@]SddP,?  
struts.locale Z-lhJ<0/Pa  
      The default locale for the Struts application kcUn GiP  
      默认的国际化地区信息 @U!&XZ]h  
%~:\f#6  
struts.mapper.class h[u@UGK%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class WyOav6/*K^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 qeFaY74S  
mn03KF=n]  
struts.multipart.maxSize M @KQOAzt  
      The maximize size of a multipart request (file upload) l@&-be  
      multipart请求信息的最大尺寸(文件上传用) 0S :&wb  
l7uTk5  
struts.multipart.parser @k{q[6c2 n  
      The org.apache.struts2.dispatcher.multipart. 9n is8  
      MultiPartRequest parser implementation for a multipart request (file upload) $VQ;y|K+[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) a& 0g0n6  
-ysNo4#e&  
c BqbbZyUk  
struts.multipart.saveDir d BB?A~  
      The directory to use for storing uploaded files c/ImK`:)4a  
      设置存储上传文件的目录夹 cz,CL/rno  
mxZ+r#|di  
struts.objectFactory {96MfhkeBv  
      The com.opensymphony.xwork2.ObjectFactory implementation class :[+8(~| za  
      com.opensymphony.xwork2.ObjectFactory接口(spring) [ >mH  
kSiyMDY-  
struts.objectFactory.spring.autoWire sCw>J#@2>  
      Whether Spring should autoWire or not EVLL,x.~:z  
      是否自动绑定Spring Q9 AvNj>X  
ilQ}{p6I  
struts.objectFactory.spring.useClassCache hBRi5&%  
      Whether Spring should use its class cache or not L754odc  
      是否spring应该使用自身的cache ;6 W[%{  
cY5;~lO  
struts.objectTypeDeterminer OvQzMXU^I  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [-[59 H[6)  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %\-E R !b  
_cJ)v/]  
struts.serve.static.browserCache (/nnN4\=  
If static content served by the Struts filter should set browser caching header properties or not DzMg^Kp  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 E9mu:T  
h2x9LPLBxT  
struts.serve.static baD063P;  
      Whether the Struts filter should serve static content or not bK!h{Rr  
      是否struts过滤器应该提供静态内容 C_>XtcU  
oh:9v+  
struts.tag.altSyntax %\,9S`0  
      Whether to use the alterative syntax for the tags or not _BA; H+M  
      是否可以用替代的语法替代tags LI@BB:)[  
#8M?y*<I  
struts.ui.templateDir hFm^Fy[R  
      The directory containing UI templates ~C^:SND7  
      UI templates的目录夹 G=[<KtWa  
-a@e28Y  
struts.ui.theme 3QBzyJW f  
      The default UI template theme .-iW T4Dn  
      默认的UI template主题 riOaqV  
MvZa;B  
struts.url.http.port L,.~VNy-  
      The HTTP port used by Struts URLs I;"pPJ3G  
      设置http端口 Nc(CGl:  
mST8+R@S  
struts.url.https.port C{m%]jKH  
      The HTTPS port used by Struts URLs [u!n=ev  
      设置https端口 ?2#'>B  
[m{sl(Q  
struts.url.includeParams N,K/Ya)1  
      The default includeParams method to generate Struts URLs b MD|  
      在url中产生 默认的includeParams g(tVghHxt$  
$m#^0%  
dq.U#Rhrx  
struts.velocity.configfile .B<Bqr@?8  
      The Velocity configuration file path +@^);b6  
      velocity配置文件路径 .Ja].hP  
~Z/,o)  
struts.velocity.contexts X-nC2[tu'W  
      List of Velocity context names mj$Ucql  
      velocity的context列表 6 /YJA*  
1|4,jm$  
3%5YUG@  
struts.velocity.manager.classname R+NiIoa  
      org.apache.struts2.views.velocity.VelocityManager implementation class xE@/8h  
      org.apache.struts2.views.velocity.VelocityManager接口名 So!=uYX  
gZ^Qt.6Z  
struts.velocity.toolboxlocation QPB,B>Z  
      The location of the Velocity toolbox ;$&\ :-6A#  
      velocity工具盒的位置 XEA5A.uc  
struts.xslt.nocache cQhr{W,Un  
      Whether or not XSLT templates should not be cached B%uY/Mwz$  
      是否XSLT模版应该被缓存 k*)sz  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五