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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 fR>(b?C  
V01-n{~G  
struts.action.extension X^PR];V:$  
      The URL extension to use to determine if the request is meant for a Struts action 0;Y|Ua[G+~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 N{]|!#  
4JTFdbx  
struts.configuration D3LW 49  
      The org.apache.struts2.config.Configuration implementation class 4MVa[ 0Y  
        org.apache.struts2.config.Configuration接口名 <uugT9By  
QY,.|  
struts.configuration.files JNzNK.E!m-  
      A list of configuration files automatically loaded by Struts wn'_;0fg  
      struts自动加载的一个配置文件列表 }ug|&25D  
{YCquoF  
struts.configuration.xml.reload Vo%MG.IPB  
      Whether to reload the XML configuration or not rNL*(PN}lO  
      是否加载xml配置(true,false) Wmp,,H  
nj*B-M\p  
struts.continuations.package $18|@\Znj  
      The package containing actions that use Rife continuations Q?GmSeUi  
      含有actions的完整连续的package名称 !s;+6Sy  
+"!,rZ7,A  
struts.custom.i18n.resources _5^p+  
      Location of additional localization properties files to load 6#+&_ #9  
      加载附加的国际化属性文件(不包含.properties后缀) &#'[]V%^F  
PrIS L[@  
struts.custom.properties !b"#`O%`  
      Location of additional configuration properties files to load E%M~:JuKd?  
      加载附加的配置文件的位置 cH()Ze-B  
yfS`g-j{~  
dkuB{C,  
struts.devMode &~+lXNXF  
      Whether Struts is in development mode or not 1.]Py"@:  
      是否为struts开发模式 3A_7R-sQ  
u-zl-?Ne  
struts.dispatcher.parametersWorkaround N\IdZX%u  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic )#9R()n!  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) kfo, PrW`A  
& p 1Et  
struts.enable.DynamicMethodInvocation 9-DDly [)4  
      Allows one to disable dynamic method invocation from the URL S~+}_$  
        允许动态方法调用 }>cQ}6n.  
sKhX0,s&  
struts.freemarker.manager.classname K9FtFd  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Vcg$H8m  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 gqaENU>  
3QDz0ct  
struts.i18n.encoding -Cxk#-sb#  
      The encoding to use for localization messages n&=3Knbd@d  
      国际化信息内码 zrjqB3R4@O  
!<3(+H  
struts.i18n.reload NZ `( d  
      Whether the localization messages should automatically be reloaded d%Zt]1$  
      是否国际化信息自动加载 -I.OvzQ*  
w!7f*  
struts.locale lHwQ'/r  
      The default locale for the Struts application e,qc7BJzK  
      默认的国际化地区信息 @ oE [!  
^'=J'Q  
struts.mapper.class I\O<XJO)_  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^$aj,*Aj~  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 />(e.)f  
1}mI zrY  
struts.multipart.maxSize !o2lB^e8  
      The maximize size of a multipart request (file upload) 9g#L"T=  
      multipart请求信息的最大尺寸(文件上传用) )p7WU?&I  
F4i c^F{K  
struts.multipart.parser 4r!8_$fN?G  
      The org.apache.struts2.dispatcher.multipart. RYD V60*O6  
      MultiPartRequest parser implementation for a multipart request (file upload) _f%Wk>A4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) lH/d#MT   
~/J:p5?L  
Mg]q^T.a  
struts.multipart.saveDir n83,MV?-  
      The directory to use for storing uploaded files }E+}\&  
      设置存储上传文件的目录夹 >ZKE  
+(VHnxNQs  
struts.objectFactory eN@V?G26K  
      The com.opensymphony.xwork2.ObjectFactory implementation class K oPTY^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) X#<#7.  
Y!9'Wf/^  
struts.objectFactory.spring.autoWire |s :b9sfA  
      Whether Spring should autoWire or not m M!H}|  
      是否自动绑定Spring k 41lw^Jh  
vW`{BWd  
struts.objectFactory.spring.useClassCache }3cOZd_,t  
      Whether Spring should use its class cache or not _"%ef"oPh  
      是否spring应该使用自身的cache yw`xK2(C$  
pC0l}hnUg  
struts.objectTypeDeterminer 0jO]+BI1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >h/J{T(P>h  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !L"3Otd  
\w{x- }  
struts.serve.static.browserCache ~HsPYc8Fz  
If static content served by the Struts filter should set browser caching header properties or not .,[zI@9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 r#wMd9])  
!']=7It{  
struts.serve.static l9XK;0R9  
      Whether the Struts filter should serve static content or not zJS,f5L6)  
      是否struts过滤器应该提供静态内容 E ~xK1x"  
8 ~.|^no  
struts.tag.altSyntax Y9ueE+6  
      Whether to use the alterative syntax for the tags or not S+A'\{f  
      是否可以用替代的语法替代tags QD%~ A0  
Af5O;v\  
struts.ui.templateDir zlIXia5  
      The directory containing UI templates E_]L8UC;m  
      UI templates的目录夹 /w{DyHT  
stz1e dP  
struts.ui.theme P]-d (N}/H  
      The default UI template theme  ] L4B  
      默认的UI template主题 j8?z@iG  
3!&lio+<  
struts.url.http.port dIe-z7x  
      The HTTP port used by Struts URLs O.e^? ysp/  
      设置http端口 YbF}(iM  
~sk;6e)(2  
struts.url.https.port GQoaBO.  
      The HTTPS port used by Struts URLs  B\1F  
      设置https端口 _H(m4~ M  
-Y%#z'^-  
struts.url.includeParams {XiBRs e  
      The default includeParams method to generate Struts URLs ncf=S(G+  
      在url中产生 默认的includeParams e&?o  
,Khhu%$  
N7k<q=r-  
struts.velocity.configfile *xXa4HB  
      The Velocity configuration file path y% =nhV  
      velocity配置文件路径 nY"9"R\.=  
@47MJzC  
struts.velocity.contexts ^Afq)26D  
      List of Velocity context names |&WeXVH E  
      velocity的context列表 7. 9n  
!EuU @ +  
qYc]Y9fi  
struts.velocity.manager.classname 72@raA#y  
      org.apache.struts2.views.velocity.VelocityManager implementation class &}31q`  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~M`QFF  
d9h"Q  
struts.velocity.toolboxlocation -8; ,#  
      The location of the Velocity toolbox 1tU}}l  
      velocity工具盒的位置 2628 c`  
struts.xslt.nocache Fyoy)y*  
      Whether or not XSLT templates should not be cached gE]) z*tqX  
      是否XSLT模版应该被缓存 J:Uf}!D  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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