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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 SE\`JGA[  
'=r.rW5  
struts.action.extension 5ZPl`[He  
      The URL extension to use to determine if the request is meant for a Struts action q+z,{K  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 22GtTENd1h  
s=q}XIWK  
struts.configuration =3@^TW(j  
      The org.apache.struts2.config.Configuration implementation class y ^YrGz.  
        org.apache.struts2.config.Configuration接口名 Z7(hW,60  
CyE.q^Wm  
struts.configuration.files jN[Z mJz'  
      A list of configuration files automatically loaded by Struts :%Bo)0a9  
      struts自动加载的一个配置文件列表 9QpKB c  
u3q!te  
struts.configuration.xml.reload >0>M@s  
      Whether to reload the XML configuration or not `jJb) z3D  
      是否加载xml配置(true,false) EV9m\'=j  
P~~RK& +i  
struts.continuations.package  9TeDLp  
      The package containing actions that use Rife continuations 'h:4 Fzo<  
      含有actions的完整连续的package名称 '?QZ7A  
j"f ]pzg&  
struts.custom.i18n.resources X%;,r 2g  
      Location of additional localization properties files to load wc;5tb#  
      加载附加的国际化属性文件(不包含.properties后缀) S"lcePN  
Dj[D|%9a  
struts.custom.properties <-$4?}  
      Location of additional configuration properties files to load LnBkd:>}  
      加载附加的配置文件的位置 ,7eN m>$  
!OiP<8 ,H  
zj8;ENhEI  
struts.devMode ==$Ox6.  
      Whether Struts is in development mode or not RVD=CX  
      是否为struts开发模式 J?%Z7&/M>  
g|W~0A@D  
struts.dispatcher.parametersWorkaround eM8u ;i  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic k%hif8y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #u#s'W  
@#sQ7eMoy  
struts.enable.DynamicMethodInvocation q+SDJ?v  
      Allows one to disable dynamic method invocation from the URL KBXdr52"  
        允许动态方法调用 H>M0G L  
SMnbI .0  
struts.freemarker.manager.classname gp;(M~we  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class z. 7 UfLV9  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @T1-0!TM')  
Q7i^VN  
struts.i18n.encoding X^"95Ic  
      The encoding to use for localization messages BHa!jw_~o  
      国际化信息内码 lQoa[#q  
tk~7>S  
struts.i18n.reload t:W`=^  
      Whether the localization messages should automatically be reloaded wN;o++6V  
      是否国际化信息自动加载 ='>k|s:  
D*heYh  
struts.locale B>gC75  
      The default locale for the Struts application \\BblzGMR  
      默认的国际化地区信息 I/fERnHM/+  
xqLLoSte  
struts.mapper.class GT`:3L  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class i |cSO2O+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ln9U>*<  
tXwnK[~x  
struts.multipart.maxSize E+csK*A7  
      The maximize size of a multipart request (file upload) ) 3Eax_?Z  
      multipart请求信息的最大尺寸(文件上传用) 9CW .xX8  
1NA>W   
struts.multipart.parser X`[or:cB  
      The org.apache.struts2.dispatcher.multipart. u:<%!?  
      MultiPartRequest parser implementation for a multipart request (file upload) 9^>nZ6  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?;!l-Dy  
,C!MHn^$  
vxY7/_]  
struts.multipart.saveDir HtPasFrJ  
      The directory to use for storing uploaded files LBbk]I  
      设置存储上传文件的目录夹 rWAJL9M  
e&#qj^  
struts.objectFactory }D{y u+)  
      The com.opensymphony.xwork2.ObjectFactory implementation class 67%o83\  
      com.opensymphony.xwork2.ObjectFactory接口(spring) AI/xOd!a  
S"V|BU  
struts.objectFactory.spring.autoWire 5o'V}  
      Whether Spring should autoWire or not H~Hh $-z  
      是否自动绑定Spring &qF   
G"3D"7f a  
struts.objectFactory.spring.useClassCache 7P|GKN~  
      Whether Spring should use its class cache or not 7J.alV4`/  
      是否spring应该使用自身的cache ku&IVr%  
1s"6  
struts.objectTypeDeterminer k[&+Iy  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rs`H':a/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R^{Ow  
v=RQ"iv8  
struts.serve.static.browserCache now\-XrS  
If static content served by the Struts filter should set browser caching header properties or not IJhJfr0)Oo  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $i7iv  
S{XV{o  
struts.serve.static S8TJnv`?'  
      Whether the Struts filter should serve static content or not vdyLwBz:  
      是否struts过滤器应该提供静态内容 *$0u A N  
'x$>h)t]  
struts.tag.altSyntax hWP$U  
      Whether to use the alterative syntax for the tags or not ]hJ#%1  
      是否可以用替代的语法替代tags 0sD"Hu  
`%SFu  
struts.ui.templateDir /4}{SE  
      The directory containing UI templates ]k-<[Z;I,  
      UI templates的目录夹 WPPz/c|j  
_3i.o$GO  
struts.ui.theme JPltB8j?  
      The default UI template theme no~hYy W2  
      默认的UI template主题 HN9!~G  
X"0n*UTF,  
struts.url.http.port @doo2qqIe]  
      The HTTP port used by Struts URLs h&|q>M3  
      设置http端口 .KSPr  
# xx{}g]%  
struts.url.https.port (,z0V+ !  
      The HTTPS port used by Struts URLs z~i=\/~tZ  
      设置https端口 jq#uBU %  
 } Wx#"6  
struts.url.includeParams C]59@z;+bN  
      The default includeParams method to generate Struts URLs ]k &Y )  
      在url中产生 默认的includeParams 5Arx"=c  
r\-Mj\$-  
wcDHx#~  
struts.velocity.configfile Vj(}'h-c\  
      The Velocity configuration file path f_y+B]?'M  
      velocity配置文件路径 Xk8+  
fbgq+f`\  
struts.velocity.contexts ig(dGKD\=9  
      List of Velocity context names DlIy'@ .  
      velocity的context列表 6P@3UQ)}s  
VbQ9o  
jLRUWg  
struts.velocity.manager.classname j[2?}?  
      org.apache.struts2.views.velocity.VelocityManager implementation class vF,\{sgW  
      org.apache.struts2.views.velocity.VelocityManager接口名 OT/*|Pn9  
BIyNiol$AJ  
struts.velocity.toolboxlocation :j2G0vHIl(  
      The location of the Velocity toolbox }$EcNm$%  
      velocity工具盒的位置 yf5X=f.%@  
struts.xslt.nocache <7Igd6u  
      Whether or not XSLT templates should not be cached sY,q*}SLD  
      是否XSLT模版应该被缓存 ~Mu=,OT  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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