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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 aGq_hP   
2.fyP"P L  
struts.action.extension aJuj7y-  
      The URL extension to use to determine if the request is meant for a Struts action <3SFP3^:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 EmtDrx4!(f  
U~u6}s]:  
struts.configuration dCf'\ @<<  
      The org.apache.struts2.config.Configuration implementation class Bo](n*i  
        org.apache.struts2.config.Configuration接口名 p`E|SNt/W  
f"5lOzj`C  
struts.configuration.files <r_P? lZW  
      A list of configuration files automatically loaded by Struts ^]#Ptoz^(l  
      struts自动加载的一个配置文件列表 (uuEjM$3%  
EuKrYY]g  
struts.configuration.xml.reload ;#5-.z  
      Whether to reload the XML configuration or not 7AGZu?1]M  
      是否加载xml配置(true,false) L:t)$iF5+  
%KJ"rvi4K  
struts.continuations.package (c|$+B^*  
      The package containing actions that use Rife continuations Jf %!I  
      含有actions的完整连续的package名称 S7?f5ux   
O+(. 29  
struts.custom.i18n.resources fd!pM4"0  
      Location of additional localization properties files to load ;w>3,ub(0  
      加载附加的国际化属性文件(不包含.properties后缀) .NV)hg)|cZ  
n&2=6$*,k  
struts.custom.properties C|.$L<`  
      Location of additional configuration properties files to load -)y> c  
      加载附加的配置文件的位置 *@bg/S K%  
EO o'a  
K,lK\^y  
struts.devMode h@PMCmf_  
      Whether Struts is in development mode or not dyQ<UT  
      是否为struts开发模式 $4$?M[  
h8iaJqqvJ  
struts.dispatcher.parametersWorkaround ~,1-$#R  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic CO:m]oj  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) bBeFL~  
mR" 2  
struts.enable.DynamicMethodInvocation K^]?@oHO  
      Allows one to disable dynamic method invocation from the URL Mv7w5vTl  
        允许动态方法调用 FT3,k&i  
~n8Oyr  
struts.freemarker.manager.classname W G3mQ\k  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dN$D6*  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3&a*]  
X*0eN3o.  
struts.i18n.encoding C)&gL=O*$  
      The encoding to use for localization messages @ }zS/LO  
      国际化信息内码 @,y FY  
D*d 3w  
struts.i18n.reload GM9]>"#o\  
      Whether the localization messages should automatically be reloaded +s+PnZ%0V  
      是否国际化信息自动加载 wa(Wit"-  
T9<H%iF  
struts.locale ;i-D~Np|  
      The default locale for the Struts application ^huBqEs  
      默认的国际化地区信息 VuO)  
HonAK  
struts.mapper.class "EOk^1,y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class eSvc/CU  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;4S [ba1/  
?v)"%.  
struts.multipart.maxSize $X.'W\o|  
      The maximize size of a multipart request (file upload) hIzPy3  
      multipart请求信息的最大尺寸(文件上传用) %~B)~|h  
\0*yxSg,^  
struts.multipart.parser >PTu*6Z  
      The org.apache.struts2.dispatcher.multipart.  eo<~1w  
      MultiPartRequest parser implementation for a multipart request (file upload) WoClTb>F  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) -Iruua7b  
8CnvvMf  
5JU(@}Db  
struts.multipart.saveDir X*>o9J45V  
      The directory to use for storing uploaded files \DcC1W  
      设置存储上传文件的目录夹 ys.!S.k+  
RBv=  
struts.objectFactory mk[d7Yt{O  
      The com.opensymphony.xwork2.ObjectFactory implementation class iaa (ce  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \fM!^  
m|#(gX|F  
struts.objectFactory.spring.autoWire =B o4yN  
      Whether Spring should autoWire or not P60]ps!M  
      是否自动绑定Spring e $/Zb`k  
qN`]*baS  
struts.objectFactory.spring.useClassCache x%:> Ol  
      Whether Spring should use its class cache or not !cFE^VM_;  
      是否spring应该使用自身的cache 0o"<^] _|  
@WDqP/4  
struts.objectTypeDeterminer X/;"CM  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class R<0!?`b  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,39$iHk  
z hR_qW+  
struts.serve.static.browserCache 6Ymo%OT  
If static content served by the Struts filter should set browser caching header properties or not V)?x*R*T)  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #:ED 0</  
m|Q&Lphb8  
struts.serve.static PE;0 jgsiI  
      Whether the Struts filter should serve static content or not qI V`zZc  
      是否struts过滤器应该提供静态内容 2)I'5 ?I  
G.q^Zd#.T  
struts.tag.altSyntax v;F+fOo  
      Whether to use the alterative syntax for the tags or not T h- vG  
      是否可以用替代的语法替代tags rY_C3;B  
d@>k\6%j  
struts.ui.templateDir bbPd&7  
      The directory containing UI templates i_ODgc`H  
      UI templates的目录夹 1 Z$99  
=|{,5="  
struts.ui.theme w3?t})PB&  
      The default UI template theme Kz*AzB  
      默认的UI template主题 }&C!^v o  
HU'`kimWb  
struts.url.http.port [%)B%h`XGf  
      The HTTP port used by Struts URLs KbuGf$Bv  
      设置http端口 7N~qg 7&  
#35S7G^@`  
struts.url.https.port BI]ut |Qw  
      The HTTPS port used by Struts URLs ~cg+BAfu  
      设置https端口 3sg)]3jm2  
_I70qz8  
struts.url.includeParams KxTYc  
      The default includeParams method to generate Struts URLs - 5-SlQu  
      在url中产生 默认的includeParams 3_1Io+uXk  
M:Y!k<p  
YT 03>!B  
struts.velocity.configfile %ucmJ-< y#  
      The Velocity configuration file path ##+ 8GLQM  
      velocity配置文件路径 WbDC  
ofrlTw&o  
struts.velocity.contexts ;|$]Qq  
      List of Velocity context names A'AWuj\r2R  
      velocity的context列表 d[Fr  
5_tK3Q8?  
9q ,Jq B  
struts.velocity.manager.classname X)R] a]1A  
      org.apache.struts2.views.velocity.VelocityManager implementation class U+}9X^  
      org.apache.struts2.views.velocity.VelocityManager接口名 sxQ,x/O  
7!yF5 +_d  
struts.velocity.toolboxlocation W9:{pQG  
      The location of the Velocity toolbox my\oC^/9  
      velocity工具盒的位置 Z FrXw+  
struts.xslt.nocache +uGP(ONY  
      Whether or not XSLT templates should not be cached  v=Bh A9[  
      是否XSLT模版应该被缓存 Sdu@!<?B  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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