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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 [ WZ<d^L  
}<&g1x'pa  
struts.action.extension 'oEFNC9V  
      The URL extension to use to determine if the request is meant for a Struts action (J<@e!@NE  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 NeHR% a2~  
!?ayZ5G([  
struts.configuration #joU}Rj|  
      The org.apache.struts2.config.Configuration implementation class u3 ?+Hu|*T  
        org.apache.struts2.config.Configuration接口名 $&k2m^R<  
*=S\jek  
struts.configuration.files 4^alAq^  
      A list of configuration files automatically loaded by Struts PKfxL}:"8  
      struts自动加载的一个配置文件列表 =o_d2 Ak  
=YZp,{T  
struts.configuration.xml.reload Sd^e!? bp  
      Whether to reload the XML configuration or not PQvq$|q  
      是否加载xml配置(true,false) 3VA8K@QiRm  
S5v>WI^0h  
struts.continuations.package ;myu8B7&  
      The package containing actions that use Rife continuations Gr?"okaA  
      含有actions的完整连续的package名称 0wZLkU_(  
D Z ~|yH  
struts.custom.i18n.resources Fm,A<+l@u  
      Location of additional localization properties files to load xwT"Q=|kW  
      加载附加的国际化属性文件(不包含.properties后缀) @OFl^U0/  
ERGDo=j  
struts.custom.properties X'jEI{1w  
      Location of additional configuration properties files to load %nOBsln  
      加载附加的配置文件的位置 ?$;_a%v6  
cGsxfwD  
 O\]CfzR  
struts.devMode p4Vw`i+DnH  
      Whether Struts is in development mode or not tmK@Veb*a'  
      是否为struts开发模式 k'%c|kx8U  
\#2,1W@  
struts.dispatcher.parametersWorkaround ?_W "=WpC  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic D}cq_|mmn[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) G5=(3V%  
U`:#+8h-}  
struts.enable.DynamicMethodInvocation 5:CC\!&QBV  
      Allows one to disable dynamic method invocation from the URL ^67P(h  
        允许动态方法调用 $NG}YOP)@  
#B`"B  
struts.freemarker.manager.classname DWk'6;e4j  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Wz:MPdz3(  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 k%NY,(:(  
-hp,O?PM  
struts.i18n.encoding *qY`MW  
      The encoding to use for localization messages '4dnC2a]  
      国际化信息内码 $hndb+6q  
]ueq&|  
struts.i18n.reload [:g6gAuh,  
      Whether the localization messages should automatically be reloaded bMkn(_H)\  
      是否国际化信息自动加载 <LZvG IMl  
3 {on$\  
struts.locale #dW$"u   
      The default locale for the Struts application f:"es: Fb  
      默认的国际化地区信息 mN3%;$ND7  
$L:g7?)k  
struts.mapper.class :r^i0g|5P  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Iy|]U&`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .yi.GRk  
EW#.)@-  
struts.multipart.maxSize 9N=Dls  
      The maximize size of a multipart request (file upload) X_Y$-I$qd  
      multipart请求信息的最大尺寸(文件上传用) i0p"q p  
MV9{>xX  
struts.multipart.parser Jev@IORN\  
      The org.apache.struts2.dispatcher.multipart. ?h K+h.{  
      MultiPartRequest parser implementation for a multipart request (file upload) \^N9Q9{7]  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6=A ++H @  
j*W]^uT,  
5>}L3r>a;  
struts.multipart.saveDir {U^mL6=&v  
      The directory to use for storing uploaded files <diI*H<G  
      设置存储上传文件的目录夹 1#]tCi`  
y7d)[d*Mz  
struts.objectFactory 4y 582u6^  
      The com.opensymphony.xwork2.ObjectFactory implementation class dHf_&X2A  
      com.opensymphony.xwork2.ObjectFactory接口(spring) vWe)cJ  
`j4ukOnG  
struts.objectFactory.spring.autoWire z6'zNM7M  
      Whether Spring should autoWire or not @YpA'cX7  
      是否自动绑定Spring =,gss&J!!  
_Mq@58q'  
struts.objectFactory.spring.useClassCache .HZYSY:X  
      Whether Spring should use its class cache or not E# e=<R  
      是否spring应该使用自身的cache ,E)bS7W  
&giJO-^ f  
struts.objectTypeDeterminer $vGl Z<3g  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class I+`~6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Cd|V<BB9  
v{?9PRf\s  
struts.serve.static.browserCache QnaMjDh$6  
If static content served by the Struts filter should set browser caching header properties or not <Er|s^C  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -BQM i0  
d<7xSRC   
struts.serve.static x-y=Jor  
      Whether the Struts filter should serve static content or not QhpE2ICU  
      是否struts过滤器应该提供静态内容 0lmoI4bW}s  
YfxZ<  
struts.tag.altSyntax UvQxtT]  
      Whether to use the alterative syntax for the tags or not A "_;.e`  
      是否可以用替代的语法替代tags ;M"hX  
;EF s2-{K  
struts.ui.templateDir O_F<VV*MFQ  
      The directory containing UI templates `Ph4!-6#  
      UI templates的目录夹 ]7dm`XV  
{r'#(\  
struts.ui.theme /Pg66H#RUf  
      The default UI template theme Sw'DS  
      默认的UI template主题 $`l- cSH;  
#Y`U8n2F  
struts.url.http.port PJA 1/"  
      The HTTP port used by Struts URLs c/T]=S[  
      设置http端口 G;fP  
apGf@b  
struts.url.https.port &)xoR4!2  
      The HTTPS port used by Struts URLs bmt2~!  
      设置https端口 ub,Sj{Mq"  
wG^{Jf&@$  
struts.url.includeParams O$$s]R6  
      The default includeParams method to generate Struts URLs V)N9V|O'  
      在url中产生 默认的includeParams IWm|6@y  
S'6(&"XC H  
%\r4c*O1q  
struts.velocity.configfile 1!vR 8.  
      The Velocity configuration file path #FuOTBNvB  
      velocity配置文件路径 0_"J>rMp  
s`H}NjWx  
struts.velocity.contexts dx Mz!  
      List of Velocity context names h"wXmAf4%  
      velocity的context列表 P_&2HA,I  
3ufUB^@4v  
5zfaqt`  
struts.velocity.manager.classname M5 Pvc  
      org.apache.struts2.views.velocity.VelocityManager implementation class {CQA@p:Y}  
      org.apache.struts2.views.velocity.VelocityManager接口名 lQ! 6n  
Rfa1 v*(  
struts.velocity.toolboxlocation S1&6P)X.Za  
      The location of the Velocity toolbox dLQ!hKD~  
      velocity工具盒的位置 $stJ+uh  
struts.xslt.nocache J tYnBg?[E  
      Whether or not XSLT templates should not be cached #@y4/JS&2  
      是否XSLT模版应该被缓存 6"jq/Pu  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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