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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 (5Q<xJ  
-a|b.p  
struts.action.extension Lbrn8,G\  
      The URL extension to use to determine if the request is meant for a Struts action (FGy"o%TP'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H1?C:R  
#'f5owk>,  
struts.configuration ddl]! ^IK  
      The org.apache.struts2.config.Configuration implementation class CIo`;jt K  
        org.apache.struts2.config.Configuration接口名 $Lfbt=f  
%e25Z .Se$  
struts.configuration.files v]@ XyF\j8  
      A list of configuration files automatically loaded by Struts QPp31o.!5  
      struts自动加载的一个配置文件列表 &X~8S/nPAw  
Xsanc@w)^C  
struts.configuration.xml.reload &?p( UY7'"  
      Whether to reload the XML configuration or not b-VQn5W  
      是否加载xml配置(true,false) Q~f]?a`  
xv147"w'v  
struts.continuations.package I8@leT\9M  
      The package containing actions that use Rife continuations '-f` 5X  
      含有actions的完整连续的package名称 _&gO>G,uy  
{I0!q"sF  
struts.custom.i18n.resources &.2% p  
      Location of additional localization properties files to load J80&npsO  
      加载附加的国际化属性文件(不包含.properties后缀) #+Bz$CO  
}+`,AC`RM  
struts.custom.properties %LHt{:9.  
      Location of additional configuration properties files to load njJTEUd">  
      加载附加的配置文件的位置 7Cz=;  
7~1Fy{tc  
CaED(0  
struts.devMode 89 m.,  
      Whether Struts is in development mode or not Z3wdk6%:}  
      是否为struts开发模式 $Sy}im\H  
lUq `t K8  
struts.dispatcher.parametersWorkaround 9i_@3OVl  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic IY!.j5q8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >2K'!@ ~'  
3zfpFgD!  
struts.enable.DynamicMethodInvocation 4Hyp]07  
      Allows one to disable dynamic method invocation from the URL rVOF  
        允许动态方法调用 )xg8#M=K  
,'Y KL",  
struts.freemarker.manager.classname nzAySMD_  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ZBU<L+#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 krlebPs[  
u#u/uS"  
struts.i18n.encoding IAb.Z+ig  
      The encoding to use for localization messages .& bc3cW  
      国际化信息内码 o:5mgf7  
G]xN#O;  
struts.i18n.reload ,f ?B((l  
      Whether the localization messages should automatically be reloaded >#S}J LZ  
      是否国际化信息自动加载 7|Wst)_~j  
]3]B$  
struts.locale D=D.s)ns*  
      The default locale for the Struts application $@^\zg1n  
      默认的国际化地区信息 w0yzC0yBk  
Xe`$SNM  
struts.mapper.class I%[Tosud<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K4|fmgcy.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ebL0cK?  
g=v'[JPd  
struts.multipart.maxSize '>bn94$  
      The maximize size of a multipart request (file upload) F|VHr@%  
      multipart请求信息的最大尺寸(文件上传用) GM^H )8U  
!3c+}j-j  
struts.multipart.parser .;bU["fn)  
      The org.apache.struts2.dispatcher.multipart. ,B x0  
      MultiPartRequest parser implementation for a multipart request (file upload) =b)!l9TX  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (yEU9R$I"  
71<4q {n  
tmoclK-  
struts.multipart.saveDir -c0*  
      The directory to use for storing uploaded files xjxX4_  
      设置存储上传文件的目录夹 Om7 '_}  
MdkL_YP}.  
struts.objectFactory \q!TI x  
      The com.opensymphony.xwork2.ObjectFactory implementation class 06pY10<>X  
      com.opensymphony.xwork2.ObjectFactory接口(spring) nC$ c.K'  
RcR-sbR  
struts.objectFactory.spring.autoWire D&N3LH  
      Whether Spring should autoWire or not Q0 ezeo  
      是否自动绑定Spring 0iMfyW:  
%[L/JJbP&Z  
struts.objectFactory.spring.useClassCache & R<K>i  
      Whether Spring should use its class cache or not HDE5Mg "  
      是否spring应该使用自身的cache i(# Fjp  
hf)R PG&  
struts.objectTypeDeterminer r|bGn#^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #{)mr [c|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -0CL#RzKR  
o {q8An)  
struts.serve.static.browserCache WwKpZ67$R  
If static content served by the Struts filter should set browser caching header properties or not JNvgUb'U  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 n0':6*oGW  
: IsJE6r  
struts.serve.static $b_~  
      Whether the Struts filter should serve static content or not U+ D#  
      是否struts过滤器应该提供静态内容 &d!ASa  
>N~jlr|  
struts.tag.altSyntax :q2RgZE  
      Whether to use the alterative syntax for the tags or not ZWB3R  
      是否可以用替代的语法替代tags eq2L V=d{m  
.o<9[d"  
struts.ui.templateDir p[!9objU  
      The directory containing UI templates 4q@[k: '  
      UI templates的目录夹 9(a*0H  
Q"LlBp>t|#  
struts.ui.theme Mp J3*$Dr  
      The default UI template theme E%f!SD  
      默认的UI template主题 $S/WAw,/  
C}o^p"M*B3  
struts.url.http.port b!EqYT  
      The HTTP port used by Struts URLs 0*uJS`se6Z  
      设置http端口 -)ri,v{:c  
']X0g{%  
struts.url.https.port 'Ze& LQ  
      The HTTPS port used by Struts URLs ~dsx|G?p  
      设置https端口 [H`5mY@  
-HFyNk]>  
struts.url.includeParams fB4zqMSfE  
      The default includeParams method to generate Struts URLs 94rx4"AN8;  
      在url中产生 默认的includeParams N45@)s!F9j  
B SEP*#s  
Bq,Pk5b  
struts.velocity.configfile 3[kl` *`  
      The Velocity configuration file path ZGd7e.u=  
      velocity配置文件路径 ; ?,'jI*1  
rO,n~|YJ  
struts.velocity.contexts ]7|qhAh<L  
      List of Velocity context names X5Y. o&  
      velocity的context列表 b%j4W)Z  
_z"\3hZ  
Z= pvoTY  
struts.velocity.manager.classname 6k1_dRu  
      org.apache.struts2.views.velocity.VelocityManager implementation class DxP65wU  
      org.apache.struts2.views.velocity.VelocityManager接口名 > 3l3  
K}LF ${bS  
struts.velocity.toolboxlocation w/fiNY5FZ  
      The location of the Velocity toolbox LA,G>#?H  
      velocity工具盒的位置 U}-hV@y  
struts.xslt.nocache eoiC.$~\  
      Whether or not XSLT templates should not be cached DK%@ [D  
      是否XSLT模版应该被缓存 bde6 ;=oM  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八