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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 a\:VREKj,  
9`w)  
struts.action.extension cPU/t kc  
      The URL extension to use to determine if the request is meant for a Struts action rn=m\Gv e  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 sSQs#+ &=[  
r,Nq7Txn?  
struts.configuration y(=#WlK }  
      The org.apache.struts2.config.Configuration implementation class L0tAgW!@  
        org.apache.struts2.config.Configuration接口名 3neIR@W  
dGFGr}&s  
struts.configuration.files KhW;RD  
      A list of configuration files automatically loaded by Struts }GZ}Q5  
      struts自动加载的一个配置文件列表 `p7&> BOA  
K%Rj8J7|u?  
struts.configuration.xml.reload SY^dWLf  
      Whether to reload the XML configuration or not rJ!{/3e  
      是否加载xml配置(true,false) 3RR_fmMT)  
1[t=XDz/e  
struts.continuations.package U=o"32n+  
      The package containing actions that use Rife continuations ^=^z1M 2P  
      含有actions的完整连续的package名称 k!KDWb  
{s_+?<l  
struts.custom.i18n.resources 8-Hsgf.*  
      Location of additional localization properties files to load )"m!YuS Y  
      加载附加的国际化属性文件(不包含.properties后缀) l $jxLZ  
r@o6voX  
struts.custom.properties 0`I-2M4F*Q  
      Location of additional configuration properties files to load Iy.rqc/86  
      加载附加的配置文件的位置 -p E(_  
pOrWg@<\L  
Xe^Cn R  
struts.devMode z8J."27ND  
      Whether Struts is in development mode or not f uB)qt!E  
      是否为struts开发模式 CCX8>09  
V86Xg:?7  
struts.dispatcher.parametersWorkaround Ii^5\v|C  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %O<%UmR  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8B#GbS K  
M!tXN&V]  
struts.enable.DynamicMethodInvocation A?oXqb  
      Allows one to disable dynamic method invocation from the URL !Y:0c#MPH  
        允许动态方法调用 -Z?Vd!H:  
bQZ*r{g  
struts.freemarker.manager.classname 0^8)jpL$<9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class W.1As{  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 C^z\([k0er  
*k1<: @%e  
struts.i18n.encoding XK5<Tg  
      The encoding to use for localization messages A;O~#Chvd  
      国际化信息内码 iK IOh('G  
03iv3/{H  
struts.i18n.reload Z xb_K  
      Whether the localization messages should automatically be reloaded fI7j):h;  
      是否国际化信息自动加载 |P.6<  
.<K iMh  
struts.locale k,uK6$Z  
      The default locale for the Struts application q;:6_Qr  
      默认的国际化地区信息 B: \Uw|Mf  
}=2;  
struts.mapper.class f(eQ+0D  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class pMJ1v  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .y&QqxiE  
\G2B?>E;  
struts.multipart.maxSize /2m?15c+  
      The maximize size of a multipart request (file upload) Hku!bJ  
      multipart请求信息的最大尺寸(文件上传用) fbkd"7u  
,\aUq|~  
struts.multipart.parser !gmH$1w  
      The org.apache.struts2.dispatcher.multipart. &l?+3$q  
      MultiPartRequest parser implementation for a multipart request (file upload) B<~U3b  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) DS -fjH\  
0K-*WQ*#9  
\@;\t7~  
struts.multipart.saveDir '/I:^9  
      The directory to use for storing uploaded files Dr9 ?2  
      设置存储上传文件的目录夹 tdF9NFMD  
A~dQ\M  
struts.objectFactory L}yyaM)  
      The com.opensymphony.xwork2.ObjectFactory implementation class /n4pXT  
      com.opensymphony.xwork2.ObjectFactory接口(spring) o|j*t7  
IjfxR mV  
struts.objectFactory.spring.autoWire $j 5,%\4<  
      Whether Spring should autoWire or not "aF8l<1xn  
      是否自动绑定Spring cM_ Fp  
Z h/Uu6  
struts.objectFactory.spring.useClassCache e62Dx#IY  
      Whether Spring should use its class cache or not k5&bq2)I  
      是否spring应该使用自身的cache \Yoa:|%*y  
=9LC<2  
struts.objectTypeDeterminer -[Qvg49jy  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Xm4CKuU@  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  YOAn4]j  
c:l]=O   
struts.serve.static.browserCache 3?E&}J<n  
If static content served by the Struts filter should set browser caching header properties or not yxBUj*3  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 K$ v"Uk  
vLO&Lpv  
struts.serve.static /"ymZI!k\  
      Whether the Struts filter should serve static content or not F#{gfh  
      是否struts过滤器应该提供静态内容 (Bo bB]~a  
;p ]y)3  
struts.tag.altSyntax w&BGJYI  
      Whether to use the alterative syntax for the tags or not E&B{5/rv  
      是否可以用替代的语法替代tags - ~4+w  
SjdZyJa  
struts.ui.templateDir F.)!3YE  
      The directory containing UI templates d3]hyTqbtm  
      UI templates的目录夹 4q$H  
-K[782Q  
struts.ui.theme p[2GkP  
      The default UI template theme 5=KF!?  
      默认的UI template主题 h~7,`fo  
0"g@!gSrQ  
struts.url.http.port YGsS4ia*4i  
      The HTTP port used by Struts URLs L "<B;u5pM  
      设置http端口 f '6|OsVQ  
5v^L9!`@%v  
struts.url.https.port qXXGF_Q  
      The HTTPS port used by Struts URLs zEw >SP1,  
      设置https端口 A7P`lJgv  
{5%/T,  
struts.url.includeParams zx1:`K0bi  
      The default includeParams method to generate Struts URLs A.Bk/N1G  
      在url中产生 默认的includeParams  0v^:  
$gMCR b,  
 <1&Ke  
struts.velocity.configfile yW.COWL=)  
      The Velocity configuration file path L<(VG{)Z  
      velocity配置文件路径 Zwe[_z!*D  
k*-NsNPw$  
struts.velocity.contexts 3hq1yyec  
      List of Velocity context names ~k'V*ERNSj  
      velocity的context列表 >m_v5K  
dZ :r&Qa  
nE y]`  
struts.velocity.manager.classname tk/`%Q  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5eX59:vtl  
      org.apache.struts2.views.velocity.VelocityManager接口名 s%;<O:x8o  
"D* Wi7  
struts.velocity.toolboxlocation &B!%fd.'  
      The location of the Velocity toolbox w5]l1}rl  
      velocity工具盒的位置 J -Qh/d%]  
struts.xslt.nocache S:Tm23pe  
      Whether or not XSLT templates should not be cached ' eO/PnYW  
      是否XSLT模版应该被缓存 CsSp=(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五