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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !Zf)N_k  
x k5Z&z  
struts.action.extension s5ddGiZnBT  
      The URL extension to use to determine if the request is meant for a Struts action cw{[% 7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O>`DR0  
 snyg  
struts.configuration 2s@<k1EdPl  
      The org.apache.struts2.config.Configuration implementation class 0dgp<  
        org.apache.struts2.config.Configuration接口名 u($y<Q)=  
QR($KW(  
struts.configuration.files ?-0>Wbg  
      A list of configuration files automatically loaded by Struts @{!c [{x,T  
      struts自动加载的一个配置文件列表 jDO[u!J6.%  
lf\]^yM #  
struts.configuration.xml.reload `8%2F}x}qD  
      Whether to reload the XML configuration or not N&t+*kF_  
      是否加载xml配置(true,false) />z E$)'M  
hqVFb.6[  
struts.continuations.package ;'r} D!8w/  
      The package containing actions that use Rife continuations Q}M% \v  
      含有actions的完整连续的package名称 ,9W|$2=F  
bm_'giQ:  
struts.custom.i18n.resources Gt^Fj&^  
      Location of additional localization properties files to load 4c*?9r@  
      加载附加的国际化属性文件(不包含.properties后缀) 257pO9]  
U1t7XZ3e  
struts.custom.properties >>voLDDd  
      Location of additional configuration properties files to load hYMo5?  
      加载附加的配置文件的位置 ~I%m[fQ S  
x_vaYUl)  
kw>W5tNpf:  
struts.devMode E hROd  
      Whether Struts is in development mode or not [;/ydE=  
      是否为struts开发模式 ?6F\cl0.  
[wJM=` !W  
struts.dispatcher.parametersWorkaround I]|X6  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  s=&&gC1  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) B`x rdtW  
B'OUT2cgB  
struts.enable.DynamicMethodInvocation fWKI~/eUY|  
      Allows one to disable dynamic method invocation from the URL  ]CD  
        允许动态方法调用 0wCJNXm  
h|tdK;)  
struts.freemarker.manager.classname ykv,>nSXLL  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [;`B   
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 dC$z q~q  
XrY\ot`,D  
struts.i18n.encoding [eebIJs  
      The encoding to use for localization messages I'Dc9&2  
      国际化信息内码 ]3xb Q1  
LE!xj 0  
struts.i18n.reload 2 5DXJ b^:  
      Whether the localization messages should automatically be reloaded 3xSt -MA  
      是否国际化信息自动加载 7{%_6b"  
K!c "g,S  
struts.locale u]K&H&AxT  
      The default locale for the Struts application y3^<rff3Gc  
      默认的国际化地区信息 :C*7 DS  
+>b~nK>M  
struts.mapper.class OT[&a6_  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \wR $_X&  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 K( : NshM  
lxIo P  
struts.multipart.maxSize 4PtRTb0<i3  
      The maximize size of a multipart request (file upload) v]UT1d=_T  
      multipart请求信息的最大尺寸(文件上传用) AI{Tw>hZ  
V2As 5  
struts.multipart.parser {t<E*5N]a  
      The org.apache.struts2.dispatcher.multipart. >yr:L{{D}G  
      MultiPartRequest parser implementation for a multipart request (file upload) l`S2bb6uMR  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) km@V|"ac _  
r%`g` It  
vGe];  
struts.multipart.saveDir >|{n";n&  
      The directory to use for storing uploaded files 87; E#2  
      设置存储上传文件的目录夹 *3.K; Ic;  
Zq tL4M~9  
struts.objectFactory !=(OvX_<  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,sw|OYb  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6_Ps*Ed  
= <yMB d\  
struts.objectFactory.spring.autoWire w ]8+ OP  
      Whether Spring should autoWire or not +,7nsWV  
      是否自动绑定Spring O+iNR9O  
j)G<PW  
struts.objectFactory.spring.useClassCache ~quof>  
      Whether Spring should use its class cache or not 5&59IA%S  
      是否spring应该使用自身的cache !3O8B0K)v  
I+08tXO  
struts.objectTypeDeterminer S2y_5XJ<D  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?3[Gh9g`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 (AYzN3 ?D  
z) :LF<  
struts.serve.static.browserCache 2VpKG*!\  
If static content served by the Struts filter should set browser caching header properties or not C{{RU7iqc&  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1zNh& "  
Q$Q>pV;uH  
struts.serve.static 58[=.rzD  
      Whether the Struts filter should serve static content or not KgD sqwy  
      是否struts过滤器应该提供静态内容 >X@4wP 7l  
V^* ];`^  
struts.tag.altSyntax .(J~:U  
      Whether to use the alterative syntax for the tags or not >H r&F nh+  
      是否可以用替代的语法替代tags |WkWZZ^  
wH?]kV8Q  
struts.ui.templateDir Y0z)5),[U:  
      The directory containing UI templates NqlU?  
      UI templates的目录夹 e w%rc.;  
fA$2jbGW  
struts.ui.theme 14~#k%zO(  
      The default UI template theme a!@(bb z>  
      默认的UI template主题 "xI70c{  
R|m!*B~  
struts.url.http.port c9ye[81  
      The HTTP port used by Struts URLs *w#^`yeo  
      设置http端口 7+NBcZuG9  
>b7Yk)[%  
struts.url.https.port uv|RpIve:  
      The HTTPS port used by Struts URLs %!\iII  
      设置https端口 $x/VO\Z{-  
mI,a2wqi  
struts.url.includeParams `_iK`^(-  
      The default includeParams method to generate Struts URLs u?4d<%5R!  
      在url中产生 默认的includeParams cy64xR BB  
H2S/!Q;K  
Z!+n/ D-1  
struts.velocity.configfile "8$Muwm  
      The Velocity configuration file path GU0[K#%  
      velocity配置文件路径 :u,Ji9 u  
yHo#v:>?p  
struts.velocity.contexts :IX_|8e ^  
      List of Velocity context names z8dBfA<z  
      velocity的context列表 kp-`_sDg  
g8R@ol0  
WCYVonbg"  
struts.velocity.manager.classname hg7_ZjO  
      org.apache.struts2.views.velocity.VelocityManager implementation class hRQw]  
      org.apache.struts2.views.velocity.VelocityManager接口名 1j]vJ4R_\  
*&z !y/  
struts.velocity.toolboxlocation ro+8d  
      The location of the Velocity toolbox ^KJi |'B  
      velocity工具盒的位置 Y%!k'\n[2  
struts.xslt.nocache b5#Jo2C`AJ  
      Whether or not XSLT templates should not be cached 9JqT"zj  
      是否XSLT模版应该被缓存 t>2EZ{N +y  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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