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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8AVtUU  
<EKTFHJ!  
struts.action.extension x?7z15\  
      The URL extension to use to determine if the request is meant for a Struts action 4^Ke? ;v  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 C;3  
\/s0p  
struts.configuration NR3h|'eC  
      The org.apache.struts2.config.Configuration implementation class 3*zywcTH  
        org.apache.struts2.config.Configuration接口名 Lm8uN?  
BaVooN~C  
struts.configuration.files =28ZSo^  
      A list of configuration files automatically loaded by Struts 9^+E$V1@  
      struts自动加载的一个配置文件列表 ^ 0.`1$  
xs6kr  
struts.configuration.xml.reload eC3 ~|G_O  
      Whether to reload the XML configuration or not G\z5Ue*  
      是否加载xml配置(true,false) 8kLHQ0pmu  
QXu[<V  
struts.continuations.package !$NQF/Ol  
      The package containing actions that use Rife continuations WJJmM*>JW  
      含有actions的完整连续的package名称 0Ke2%+yqJ  
~KQiNkA\|l  
struts.custom.i18n.resources hnimd~E52k  
      Location of additional localization properties files to load g43(N!@g  
      加载附加的国际化属性文件(不包含.properties后缀) &gF9VY  
[*J?TNk  
struts.custom.properties I@oSRB  
      Location of additional configuration properties files to load WF_ v>g:g  
      加载附加的配置文件的位置 gNJdP!(t  
!bIE%cq  
EQtYb"_  
struts.devMode 5?Ukf$)x  
      Whether Struts is in development mode or not oj/#wF+  
      是否为struts开发模式 I5@8=rFk  
J#gG*(  
struts.dispatcher.parametersWorkaround KV)if'  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic bU\T  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) I~GHx5Dk  
l(9AwVoAR|  
struts.enable.DynamicMethodInvocation ]D&U} n  
      Allows one to disable dynamic method invocation from the URL Ft^X[5G4L  
        允许动态方法调用 Jcy+(7lE)  
 p9 G{Q  
struts.freemarker.manager.classname #-i#mbZ e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class WMa`! Q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Y P,>vzW  
6e S~*  
struts.i18n.encoding LJ6L#es2  
      The encoding to use for localization messages j}O qWX>/  
      国际化信息内码 ]N2! 'c  
D*>#]0X  
struts.i18n.reload ejia4(Cd  
      Whether the localization messages should automatically be reloaded ;F_P<b 2  
      是否国际化信息自动加载 \.'[!GE*c  
1Va=.#<  
struts.locale F9"Xu-g  
      The default locale for the Struts application b<%c ]z  
      默认的国际化地区信息 Wecxx^vtv6  
S5kD|kJ  
struts.mapper.class lMl'+ yy  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "G^TA:O:=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 |/ji'Bh  
t3AmXx  
struts.multipart.maxSize nu)YN1 *  
      The maximize size of a multipart request (file upload) 6L;]5)#  
      multipart请求信息的最大尺寸(文件上传用) *aJO5&w<T  
 |e<$  
struts.multipart.parser 9 p,O>I  
      The org.apache.struts2.dispatcher.multipart. T^F83Py<  
      MultiPartRequest parser implementation for a multipart request (file upload) S['cX ~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (*b<IGi;  
I$R1#s  
hQ}_(F_H  
struts.multipart.saveDir z%1e>`\E  
      The directory to use for storing uploaded files \H9:%Tlp~4  
      设置存储上传文件的目录夹 l-P6B9e|\  
Dlpmm2  
struts.objectFactory dz^b(q  
      The com.opensymphony.xwork2.ObjectFactory implementation class P,xIDj4d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^?wR{q"8  
sH>`eqY  
struts.objectFactory.spring.autoWire puLgc$?  
      Whether Spring should autoWire or not F v*QcB9K  
      是否自动绑定Spring _%er,Ed  
(S4HU_,88  
struts.objectFactory.spring.useClassCache L[Ot$  
      Whether Spring should use its class cache or not 6Xz d> 5x  
      是否spring应该使用自身的cache 8#\|Y~P  
oHr0;4Lg6  
struts.objectTypeDeterminer /M'd$k"0z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class U{j4FlB  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 D.-G!0!  
2;j<{'  
struts.serve.static.browserCache 9 *uK]/c  
If static content served by the Struts filter should set browser caching header properties or not w3 kkam"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 A*vuSQt(  
B`t/21J  
struts.serve.static xjSzQ| k-  
      Whether the Struts filter should serve static content or not 4"H *hKp  
      是否struts过滤器应该提供静态内容 rd<43  
[V>s]c<4`o  
struts.tag.altSyntax & Zn`2%  
      Whether to use the alterative syntax for the tags or not PU[<sr#,  
      是否可以用替代的语法替代tags ^^zj4 }On?  
* nFzfV  
struts.ui.templateDir :|$cG~'J  
      The directory containing UI templates "GR*d{  
      UI templates的目录夹 }O>4XFj  
4lWqQVx  
struts.ui.theme VdGVEDwz  
      The default UI template theme K a& 2>F  
      默认的UI template主题 PO8Z2"WI  
#0vda'q=j  
struts.url.http.port ; o Y|~  
      The HTTP port used by Struts URLs |d&C<O;f  
      设置http端口  ,vO\n^  
7#d:TXS  
struts.url.https.port kz1#"8Zd!  
      The HTTPS port used by Struts URLs /a<UKh:A[  
      设置https端口 U<Tv<7`  
[*Ai@:F  
struts.url.includeParams ?AD- n6  
      The default includeParams method to generate Struts URLs nGe4IY\-w  
      在url中产生 默认的includeParams R<Mc+{*>  
N$=9R  
39hep8+  
struts.velocity.configfile ^N[ Cip}8  
      The Velocity configuration file path LT Pr8^  
      velocity配置文件路径 $,J}w%A  
,(a~vqNQW3  
struts.velocity.contexts ]{q=9DczG(  
      List of Velocity context names qJ(uak  
      velocity的context列表 K#N9N@WjR  
Q(cLi:)X2  
e@ D}/1~=  
struts.velocity.manager.classname rAAx]nQ@  
      org.apache.struts2.views.velocity.VelocityManager implementation class iLIb-d?!a&  
      org.apache.struts2.views.velocity.VelocityManager接口名 vPGUE`!D+  
>zDQt7+g;  
struts.velocity.toolboxlocation CuH4~6  
      The location of the Velocity toolbox < K!r\^  
      velocity工具盒的位置 $~G5s<r  
struts.xslt.nocache c+E\e]{  
      Whether or not XSLT templates should not be cached T7 "QwA  
      是否XSLT模版应该被缓存 qD4s?j-9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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