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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 K(*QhKX  
>:5^4/fo*  
struts.action.extension \SB~rz"A  
      The URL extension to use to determine if the request is meant for a Struts action 8J60+2Wa  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \etuIFQ#U  
fBgW0o.Bu  
struts.configuration 8)(<U/  
      The org.apache.struts2.config.Configuration implementation class e_Cns&  
        org.apache.struts2.config.Configuration接口名 8<z]rLQw?%  
A0L&p(i  
struts.configuration.files :Ja]Vt  
      A list of configuration files automatically loaded by Struts gO C5  
      struts自动加载的一个配置文件列表 :mwNkT2et  
kbij Zj{  
struts.configuration.xml.reload 1UR ;}  
      Whether to reload the XML configuration or not jY.iQBhjEB  
      是否加载xml配置(true,false) 5)=XzO0  
Q~/TqG U  
struts.continuations.package L%D:gy9o  
      The package containing actions that use Rife continuations WU}?8\?U%  
      含有actions的完整连续的package名称 EH;w <LvT  
tx-HY<  
struts.custom.i18n.resources GyE-fB4C  
      Location of additional localization properties files to load o)NQE?  
      加载附加的国际化属性文件(不包含.properties后缀) aOWE\I c8  
_O!)aD  
struts.custom.properties y1DP`Ro  
      Location of additional configuration properties files to load #N`~. 96  
      加载附加的配置文件的位置 |T53m;D  
~b}@*fq  
]6wo]nV[P  
struts.devMode &_Py{Cv@Dw  
      Whether Struts is in development mode or not =ytB\e  
      是否为struts开发模式 3q*y~5&I  
:*GLLjS;  
struts.dispatcher.parametersWorkaround R#ayN*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic sP1wO4M?{  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) j~+<~2%c  
]e0yC  
struts.enable.DynamicMethodInvocation 0>#or$:6E  
      Allows one to disable dynamic method invocation from the URL `N 0Mm7  
        允许动态方法调用 H ]BH  
Fv n:V\eb  
struts.freemarker.manager.classname g(d9=xq@k  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *Vk%"rwaG  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [da,SM  
Vmj7`w&  
struts.i18n.encoding a9rn[n1Q  
      The encoding to use for localization messages = ;sEi:HC  
      国际化信息内码 >h3r\r\n3  
R/)cEvB-0  
struts.i18n.reload kz]vXJ  
      Whether the localization messages should automatically be reloaded L(tA~Z"k  
      是否国际化信息自动加载 -!E))|A  
& [)1LRt_  
struts.locale MB42 3{j  
      The default locale for the Struts application 7.4Q  
      默认的国际化地区信息 R["2kEF  
tB"amv  
struts.mapper.class neW_mu;~Z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k%w5V>]1  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *hI  
0T,Qn{  
struts.multipart.maxSize fm2,Mx6  
      The maximize size of a multipart request (file upload) s^KUe%am0  
      multipart请求信息的最大尺寸(文件上传用) K5U=%z  
uWw4l"RK`  
struts.multipart.parser a/ !!Y@7  
      The org.apache.struts2.dispatcher.multipart. M7"I]$|\  
      MultiPartRequest parser implementation for a multipart request (file upload) yYmV^7G  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) x2B~1edf  
2`(-l{3  
Q+/:5Z C  
struts.multipart.saveDir 'Z LGt#  
      The directory to use for storing uploaded files k 8^!5n  
      设置存储上传文件的目录夹 wCiDvHF5+C  
)/FB73!  
struts.objectFactory b9uo6u4s  
      The com.opensymphony.xwork2.ObjectFactory implementation class Hl"rGA>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @ mm*S:Gt#  
82F q}N <  
struts.objectFactory.spring.autoWire G5W6P7-<X  
      Whether Spring should autoWire or not g ]|K@sm  
      是否自动绑定Spring IWeQMwg  
Z5juyzj  
struts.objectFactory.spring.useClassCache 0;z-I"N  
      Whether Spring should use its class cache or not t ?8 ?Ok  
      是否spring应该使用自身的cache Y(IT#x?p  
CC 1\0$ /  
struts.objectTypeDeterminer #*uSYGdc  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `<IT LT  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 dzDh V{  
%zE_Q  
struts.serve.static.browserCache NVx`'Il8 "  
If static content served by the Struts filter should set browser caching header properties or not |K?fVL  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 U JG)-x  
_[8xq:G  
struts.serve.static 2SU G/-P#  
      Whether the Struts filter should serve static content or not Lv@JfN"O  
      是否struts过滤器应该提供静态内容 " 6 /`  
}J .f 5WaG  
struts.tag.altSyntax ]T\K-;i  
      Whether to use the alterative syntax for the tags or not >B$ZKE  
      是否可以用替代的语法替代tags Saa# Mj`M  
\Ku=a{Ne  
struts.ui.templateDir +7?p& -r)x  
      The directory containing UI templates v 1Yf:c  
      UI templates的目录夹 >nmby|XtW  
!cnunLc`  
struts.ui.theme a9z|ef  
      The default UI template theme \FN"0P(G  
      默认的UI template主题 :$d3}TjsA+  
j &)Xi^^  
struts.url.http.port P0U=lj/ b  
      The HTTP port used by Struts URLs GL&ri!,  
      设置http端口 |33pf7o  
/b,+YyWi%  
struts.url.https.port P ETrMu<  
      The HTTPS port used by Struts URLs VVeO>jd  
      设置https端口 &,+G}  
#(3w6 l2  
struts.url.includeParams S!8eY `C.  
      The default includeParams method to generate Struts URLs +U&aK dQs  
      在url中产生 默认的includeParams ?cr;u~-=  
Ous[{"-J  
W >eJGZ<  
struts.velocity.configfile {'Nvs_{6  
      The Velocity configuration file path STu!v5XY}-  
      velocity配置文件路径 +B^ / =3P  
)c5 M;/s  
struts.velocity.contexts %lz\w{  
      List of Velocity context names )0`;leli  
      velocity的context列表 '-3AWBWI1  
:FwXoJc_+5  
<.( IJ  
struts.velocity.manager.classname L?&+*|VxI  
      org.apache.struts2.views.velocity.VelocityManager implementation class o!L1Qrh  
      org.apache.struts2.views.velocity.VelocityManager接口名 #T Cz$_=t  
/%}+FMj  
struts.velocity.toolboxlocation r<V]MwO=  
      The location of the Velocity toolbox Da1BxbDeI  
      velocity工具盒的位置 m8$6FN  
struts.xslt.nocache 1g9Q vz3  
      Whether or not XSLT templates should not be cached 1"A1bK  
      是否XSLT模版应该被缓存 !y$H r[v  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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