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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 <5j%!6zo  
MtPdpm6\  
struts.action.extension P(I%9  
      The URL extension to use to determine if the request is meant for a Struts action Z?qLn6y1W  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1>\V>g9  
|ITCw$T  
struts.configuration ^Tj{}<yT  
      The org.apache.struts2.config.Configuration implementation class 4zhh **]B  
        org.apache.struts2.config.Configuration接口名 :%AEwRZ  
C :sgT6  
struts.configuration.files dQrz+_   
      A list of configuration files automatically loaded by Struts . 4RU'9M  
      struts自动加载的一个配置文件列表 NpM;vO  
<w*WL_P  
struts.configuration.xml.reload ct=K.m@E%X  
      Whether to reload the XML configuration or not -&1P2m/46  
      是否加载xml配置(true,false) ws QuJrG  
QX}JQ<8  
struts.continuations.package (U$;0`  
      The package containing actions that use Rife continuations /%7&De6Xg  
      含有actions的完整连续的package名称 )sK53O$  
s{7bu|0  
struts.custom.i18n.resources P"}"q ![  
      Location of additional localization properties files to load ]G8"\J4 &  
      加载附加的国际化属性文件(不包含.properties后缀) F?FfRzZ[  
EQpF:@_  
struts.custom.properties <VstnJo`Z  
      Location of additional configuration properties files to load ~&<vAgy,  
      加载附加的配置文件的位置 Crj7n/mp]s  
Mr4,?Z&`-d  
=vF!  
struts.devMode |Bi7:w  
      Whether Struts is in development mode or not h$9ut@I  
      是否为struts开发模式 *fj]L?,  
60ciI,_`  
struts.dispatcher.parametersWorkaround A\9LJ#E  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q;z!]hjBM  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) RS&BS;  
Vh=U/{Rp1  
struts.enable.DynamicMethodInvocation Ylu\]pr9|C  
      Allows one to disable dynamic method invocation from the URL 8BZ&-j{  
        允许动态方法调用 xj8z*fC;  
qgfP6W$  
struts.freemarker.manager.classname ` s+kYWg'Z  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \5j}6Wj  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 WPpO(@sn  
f<rn't{  
struts.i18n.encoding 9Qu(RbDqC  
      The encoding to use for localization messages | X#!5u  
      国际化信息内码 stW G`>X  
s~>1TxJe  
struts.i18n.reload NySa%7@CD  
      Whether the localization messages should automatically be reloaded #U w X~  
      是否国际化信息自动加载 8EdaxeDq  
;-"q;&1e  
struts.locale [lSQMoi3  
      The default locale for the Struts application O x`K7$)  
      默认的国际化地区信息 Sa@'?ApH  
j+ L:Ao  
struts.mapper.class {' 0#<Z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?VRsgV'$  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]2|fc5G'  
nq>F_h  
struts.multipart.maxSize $~1mKx]]  
      The maximize size of a multipart request (file upload) uF}B:53A  
      multipart请求信息的最大尺寸(文件上传用) v#s*I/kw  
z6B#F<h  
struts.multipart.parser W)T'?b'.  
      The org.apache.struts2.dispatcher.multipart. b]xoXC6@t  
      MultiPartRequest parser implementation for a multipart request (file upload) KkpbZ7\@  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) >O rIY  
[\h?mlG?  
1$C?+H  
struts.multipart.saveDir A X1!<K  
      The directory to use for storing uploaded files ?fC9)s  
      设置存储上传文件的目录夹 d8 Jf3Mo  
(.Ak*  
struts.objectFactory  CDuA2e  
      The com.opensymphony.xwork2.ObjectFactory implementation class L$);50E  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |`o1B;lc  
w8UUeF  
struts.objectFactory.spring.autoWire 0&Ftx%6%  
      Whether Spring should autoWire or not 3< 6h~ek )  
      是否自动绑定Spring 6:; >id${  
!m-`~3P#l,  
struts.objectFactory.spring.useClassCache .GNyA DQp  
      Whether Spring should use its class cache or not $-t@=N@vO?  
      是否spring应该使用自身的cache /hVwrt(  
jC}HNiM78  
struts.objectTypeDeterminer b.?;I7r   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /)K;XtcN  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |7A}LA  
$$o(  
struts.serve.static.browserCache < Mu`,Kv*  
If static content served by the Struts filter should set browser caching header properties or not :X-S&S X0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 BaIuOZ@,  
)wD/<7;  
struts.serve.static +U_1B%e(%  
      Whether the Struts filter should serve static content or not uCuB>x&  
      是否struts过滤器应该提供静态内容 ohe[rV>EX  
ao.vB']T  
struts.tag.altSyntax 0MxK+8\y  
      Whether to use the alterative syntax for the tags or not SVd@- '-K  
      是否可以用替代的语法替代tags >35w"a7S  
OQ wO7Z  
struts.ui.templateDir O_.!qk1R  
      The directory containing UI templates Z^4+ 88  
      UI templates的目录夹 z^&$6c_  
ZbdGI@  
struts.ui.theme >D~8iuy]8.  
      The default UI template theme |%F4`gz8KP  
      默认的UI template主题 &^HVuYa.0  
0pEM0M  
struts.url.http.port (&v|,.c^)1  
      The HTTP port used by Struts URLs nIfAG^?|*  
      设置http端口 F |5Au>t  
oCI\yp@a  
struts.url.https.port pO:]3qv  
      The HTTPS port used by Struts URLs r`EjD}2d  
      设置https端口 >s"/uo  
fvi0gE@bd  
struts.url.includeParams u1#(~[.  
      The default includeParams method to generate Struts URLs ?(K=du  
      在url中产生 默认的includeParams y6[le*T  
i(cKg&+ktd  
c@}t@k  
struts.velocity.configfile >ZG$8y 'j  
      The Velocity configuration file path </xf4.C  
      velocity配置文件路径 R@tEC)Zn  
;A7JX:*?y=  
struts.velocity.contexts m9:ah<  
      List of Velocity context names SvvNk  
      velocity的context列表 w <"mS*Q  
&$_!S!Sa/  
eQ8t.~5;-  
struts.velocity.manager.classname dlCYdwP  
      org.apache.struts2.views.velocity.VelocityManager implementation class [Eu) ~J*  
      org.apache.struts2.views.velocity.VelocityManager接口名 T=M##`jP%  
.7b%7dQ<\  
struts.velocity.toolboxlocation `Z5dRLrd  
      The location of the Velocity toolbox =*lBJ-L  
      velocity工具盒的位置 CyYr5 Dz  
struts.xslt.nocache $HQ4o\~  
      Whether or not XSLT templates should not be cached Ny/eYF#  
      是否XSLT模版应该被缓存 v3M$UiN,:  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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