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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ok'0Byo  
% @Ks<"9  
struts.action.extension 5"y p|Yl  
      The URL extension to use to determine if the request is meant for a Struts action svyC(m)'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 c0<Y017sG  
`Dh%c%j)  
struts.configuration dqUhp_f2qK  
      The org.apache.struts2.config.Configuration implementation class `+B+RQl}[  
        org.apache.struts2.config.Configuration接口名 9;Wz;p  
qB]z"Hfq,  
struts.configuration.files dWD,iO_"@  
      A list of configuration files automatically loaded by Struts h1K 3A5  
      struts自动加载的一个配置文件列表 6FSw_[)  
.2 UUU\/5  
struts.configuration.xml.reload ~A8lvuw3  
      Whether to reload the XML configuration or not vG\]xM'u  
      是否加载xml配置(true,false) w}NgFrL  
35RH|ci&  
struts.continuations.package NfR,m ]  
      The package containing actions that use Rife continuations 8+gx?pb  
      含有actions的完整连续的package名称 An[*Jx  
qvYYKu  
struts.custom.i18n.resources ~c?yHpZx%  
      Location of additional localization properties files to load ~uC4>+dk  
      加载附加的国际化属性文件(不包含.properties后缀) /l+x&xYD  
j\dkv_L  
struts.custom.properties ":7cZ1VN2  
      Location of additional configuration properties files to load 8<!qT1  
      加载附加的配置文件的位置 bq[Q  
/gy;~eB01  
o;];ng  
struts.devMode r.i.w0B(  
      Whether Struts is in development mode or not 4C01=,6ye  
      是否为struts开发模式 -ZQ3^'f:0J  
@aCg1Rm  
struts.dispatcher.parametersWorkaround m1F<L  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5Tu#o ()  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) l`I]eTo)^  
{k?Y :  
struts.enable.DynamicMethodInvocation FN,0&D}`  
      Allows one to disable dynamic method invocation from the URL 0A?w,A`"  
        允许动态方法调用 a' #-%!]  
Q(]-\L'  
struts.freemarker.manager.classname ;S?1E:\av  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class K/\#FJno  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;xB"D0~,1  
:R_{tQ-WG  
struts.i18n.encoding K:y q^T7  
      The encoding to use for localization messages j&T/.]dX&  
      国际化信息内码 N8D'<BUC  
QwT ]| 6>  
struts.i18n.reload qZ\zsOnp  
      Whether the localization messages should automatically be reloaded ~d5"<`<^o  
      是否国际化信息自动加载 Go`omh b  
z(\H.P#  
struts.locale oSa FmP  
      The default locale for the Struts application 34;c00  
      默认的国际化地区信息 Ac7`nvI=  
"E''ZBLO~  
struts.mapper.class V'K$:9^x[8  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class XIjSwR kYJ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 GE5@XT  
4`8.\  
struts.multipart.maxSize _a<PUdP  
      The maximize size of a multipart request (file upload) /0o 2  
      multipart请求信息的最大尺寸(文件上传用) Plq [Ml9  
&-b=gnT   
struts.multipart.parser -|)[s[T~m  
      The org.apache.struts2.dispatcher.multipart. (6h7'r $  
      MultiPartRequest parser implementation for a multipart request (file upload) ,s)~Y p?<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Q.y KbO<[  
4uftx1o   
t&P5Zw*B  
struts.multipart.saveDir Tl%4L % bE  
      The directory to use for storing uploaded files =]zPUzr,|  
      设置存储上传文件的目录夹 --^D)n  
rXm!3E6JL  
struts.objectFactory A\# ? rK  
      The com.opensymphony.xwork2.ObjectFactory implementation class *(>$4$9n  
      com.opensymphony.xwork2.ObjectFactory接口(spring) q!ZmF1sU  
]#:xl}'LS  
struts.objectFactory.spring.autoWire \ 3LD^[qi  
      Whether Spring should autoWire or not q yJpm{  
      是否自动绑定Spring +z[!]^H]4  
.<NXk"\!y  
struts.objectFactory.spring.useClassCache qFs<s<]  
      Whether Spring should use its class cache or not =~0XdS/1  
      是否spring应该使用自身的cache YD+C1*c!  
O,OGq0c  
struts.objectTypeDeterminer ;XtDz  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]cA~%$c89s  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 I9Sh~vTm=u  
h{JVq72R  
struts.serve.static.browserCache ^|K*lI/  
If static content served by the Struts filter should set browser caching header properties or not ?x[>g!r  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -{7N]q)}  
?Jr<gn^D  
struts.serve.static /N^+a-.Qd  
      Whether the Struts filter should serve static content or not zp9 ?Ia  
      是否struts过滤器应该提供静态内容 CD tYj  
Q-au)R,  
struts.tag.altSyntax &qpA<F@7  
      Whether to use the alterative syntax for the tags or not 3+$O#>  
      是否可以用替代的语法替代tags 8/F2V?iT  
b,`\"'1  
struts.ui.templateDir nWl0R=  
      The directory containing UI templates  mPD'"  
      UI templates的目录夹 uf>w*[m5  
>L;O, {Px-  
struts.ui.theme l2v}PALs  
      The default UI template theme K5ph x  
      默认的UI template主题 '9[_ w$~(  
aLq;a  
struts.url.http.port 0=5i\*5 p  
      The HTTP port used by Struts URLs ibAA:I,d  
      设置http端口 gU%GM  
LtU+w*Gj  
struts.url.https.port wS^-o  
      The HTTPS port used by Struts URLs Rd$<R  
      设置https端口 <'B^z0I,  
Bf}_ Jw-=  
struts.url.includeParams vJ'ho  
      The default includeParams method to generate Struts URLs s6]f#s5o  
      在url中产生 默认的includeParams ~k%\ LZ3s  
)~n}ieS  
0IdD   
struts.velocity.configfile  {Eb6.  
      The Velocity configuration file path Iymz2  
      velocity配置文件路径 evR=Z\ _  
<f*0 XJ#  
struts.velocity.contexts qXF"1f_+  
      List of Velocity context names :ox CF0Y  
      velocity的context列表 FV9RrI2  
HkN +:  
cs5Xd  
struts.velocity.manager.classname p~b$+8#+  
      org.apache.struts2.views.velocity.VelocityManager implementation class Sce9R?II  
      org.apache.struts2.views.velocity.VelocityManager接口名 Zk[#B UA  
5jLDe~  
struts.velocity.toolboxlocation t(yv   
      The location of the Velocity toolbox `WT7w']NT  
      velocity工具盒的位置 i*tj@5MY-  
struts.xslt.nocache hJ@nW5CI  
      Whether or not XSLT templates should not be cached ^v'Lu!\f  
      是否XSLT模版应该被缓存 k8JPu"R  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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