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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %S$$*|_G  
G)Y,*.,  
struts.action.extension uAoZ&8D6  
      The URL extension to use to determine if the request is meant for a Struts action n:1Ijh 1  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  H ="I=}  
inK;n  
struts.configuration tAY{+N]f  
      The org.apache.struts2.config.Configuration implementation class _bgv +/  
        org.apache.struts2.config.Configuration接口名 YGc:84S  
)_4()#3  
struts.configuration.files !<~cjgdx  
      A list of configuration files automatically loaded by Struts {5d 5Y%&  
      struts自动加载的一个配置文件列表 =2} kiLKO  
vr2PCG[~  
struts.configuration.xml.reload ),xD5~_=q  
      Whether to reload the XML configuration or not &"J;  
      是否加载xml配置(true,false) wg\ p&avvb  
H5:f&m  
struts.continuations.package k6o8'6wN  
      The package containing actions that use Rife continuations ?Drq!?3PDc  
      含有actions的完整连续的package名称 Ve)BF1YG  
z%lJWvaA7  
struts.custom.i18n.resources 2\T\p<_20  
      Location of additional localization properties files to load `QW=<Le?  
      加载附加的国际化属性文件(不包含.properties后缀) )1 HWD]>4  
WNQ<XB qAw  
struts.custom.properties kl9~obX 1  
      Location of additional configuration properties files to load A&WC})H5  
      加载附加的配置文件的位置 `c-omNu  
a1_o  
6Q_A-X3hk  
struts.devMode Sw5-^2x0'  
      Whether Struts is in development mode or not /5j5\F:33  
      是否为struts开发模式 [8[<4~{  
Y#=MN~##t  
struts.dispatcher.parametersWorkaround uaU2D-ft"  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >V]9<*c  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,j.bdlI#  
jcBZ#|B7;  
struts.enable.DynamicMethodInvocation JAXD\StC  
      Allows one to disable dynamic method invocation from the URL DGS,iRLnA  
        允许动态方法调用 qE]e+S?57a  
$z 5kA9  
struts.freemarker.manager.classname &Vgpv#&Cfx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g0B%3v  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @>V;guJC%  
DZ`m{l3H  
struts.i18n.encoding ~oT*@  
      The encoding to use for localization messages RU~ku{8?  
      国际化信息内码 ~{vB2  
8]R{5RGy  
struts.i18n.reload wEJzLFCn  
      Whether the localization messages should automatically be reloaded v=cQ`nou  
      是否国际化信息自动加载 3T4HX|rC  
p?4[nS-,  
struts.locale tAI v+L  
      The default locale for the Struts application M'|p<SO]  
      默认的国际化地区信息 A=p'`]Yld  
\4C[<Gbx$(  
struts.mapper.class u |.7w 2  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Ek6 g?rj_  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 c/v|e&q  
o; U!{G(X  
struts.multipart.maxSize *kYGXT,f]  
      The maximize size of a multipart request (file upload) N#t`ZC&m'  
      multipart请求信息的最大尺寸(文件上传用) PiCGZybCA  
D3P/: 4  
struts.multipart.parser t4/ye>P &  
      The org.apache.struts2.dispatcher.multipart. P t/]Z<VL  
      MultiPartRequest parser implementation for a multipart request (file upload) lI.oyR'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) DX+zK'34  
C_8_sb Z/  
mZPvG  
struts.multipart.saveDir j0a=v}j3  
      The directory to use for storing uploaded files cGdYfi  
      设置存储上传文件的目录夹 (}.MB3`#C  
p3{Ff5FZ  
struts.objectFactory ]t`SCsoo  
      The com.opensymphony.xwork2.ObjectFactory implementation class gTU5r4xm~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;B[(~LCyT  
5$N#=i`V  
struts.objectFactory.spring.autoWire e3~{l~ Rb  
      Whether Spring should autoWire or not <'SS IMr  
      是否自动绑定Spring %9Z0\ a)[  
kw]?/s`  
struts.objectFactory.spring.useClassCache Z[ (d7  
      Whether Spring should use its class cache or not NVsaV;u  
      是否spring应该使用自身的cache ~T-uk  
ar}-~~h 5  
struts.objectTypeDeterminer >8=lX`9f{  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0.w7S6v|&  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 UOl*wvy  
}f?[m&<  
struts.serve.static.browserCache E]GbLU;TH  
If static content served by the Struts filter should set browser caching header properties or not A~<!@`NjB  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [(5.?  
`&OX|mL^w  
struts.serve.static b:p0@|y  
      Whether the Struts filter should serve static content or not -GHd]7n  
      是否struts过滤器应该提供静态内容 ci$J?a  
|('o g*$  
struts.tag.altSyntax *KY:U&*  
      Whether to use the alterative syntax for the tags or not jnT Tj l  
      是否可以用替代的语法替代tags }zQgS8PQH  
3,6f}:CG  
struts.ui.templateDir ::$W .!Uv  
      The directory containing UI templates Y_!+Y<x7v  
      UI templates的目录夹 Y68A+ B.  
qIsf!1I?  
struts.ui.theme 6L$KMYHE  
      The default UI template theme 4"(rZWv  
      默认的UI template主题 Dd pcov  
,p#B5Dif/  
struts.url.http.port ,I x>.^|  
      The HTTP port used by Struts URLs dM= &?g  
      设置http端口 s- PS]l@  
W0~G`A(:;  
struts.url.https.port %<(d %&~  
      The HTTPS port used by Struts URLs |l+5E   
      设置https端口 8B?U\cfa^  
~~-VScG&  
struts.url.includeParams 2%`= LGQC  
      The default includeParams method to generate Struts URLs G:tY1'5  
      在url中产生 默认的includeParams P~=yTW  
|vl~B|",  
}_XiRm<  
struts.velocity.configfile w]{c*4o  
      The Velocity configuration file path x;z=[eE  
      velocity配置文件路径 *K;) ~@n  
:=ek~s.UV  
struts.velocity.contexts 51Y%"v t  
      List of Velocity context names 2HN*j~>i~  
      velocity的context列表 Bps%>P~.  
a{hc{  
Hxgc9Fis  
struts.velocity.manager.classname Q+9:]Bt  
      org.apache.struts2.views.velocity.VelocityManager implementation class Hcu!bOQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 d8w3Oz54  
prz COw  
struts.velocity.toolboxlocation w3);ZQ|  
      The location of the Velocity toolbox $m2#oI 'D  
      velocity工具盒的位置 'kcR:5B  
struts.xslt.nocache aXJ/"k #Tl  
      Whether or not XSLT templates should not be cached 72Y 6gcg  
      是否XSLT模版应该被缓存 NGl 8*Af   
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五