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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]mp.KvB  
\h-[u%  
struts.action.extension W +S>/`N  
      The URL extension to use to determine if the request is meant for a Struts action Y9WH%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >QyMeH  
Ul=`]@]]  
struts.configuration WIg"m[aIs  
      The org.apache.struts2.config.Configuration implementation class ]OVjq ?  
        org.apache.struts2.config.Configuration接口名 G~JQcJFj  
*/1z=  
struts.configuration.files "Xm'(c(  
      A list of configuration files automatically loaded by Struts * .e^s3q$  
      struts自动加载的一个配置文件列表 NM4 n  
/<})+=>6f  
struts.configuration.xml.reload f /jN$p  
      Whether to reload the XML configuration or not u$0>K,f  
      是否加载xml配置(true,false) Z'EZPuZ!'  
MV/JZ;55  
struts.continuations.package =Ru i  
      The package containing actions that use Rife continuations ISl'g'o  
      含有actions的完整连续的package名称 pY2nv/  
xkX, l{6  
struts.custom.i18n.resources 8Hhe&B  
      Location of additional localization properties files to load cv^^NgQ  
      加载附加的国际化属性文件(不包含.properties后缀) K1Tzy=Z9j  
RGiA>Z:W  
struts.custom.properties DI*xf Kt  
      Location of additional configuration properties files to load xTe?*  
      加载附加的配置文件的位置 ,xGlWH wrY  
X 6>Pq  
Cc=`:ED+  
struts.devMode `Z{7Ut^)  
      Whether Struts is in development mode or not U $+rlw}  
      是否为struts开发模式 4Ld0AApncy  
,3^N_>d$W  
struts.dispatcher.parametersWorkaround  bSmRo  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Xdjxt?*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0n1y$*I4  
RY*6TYX!  
struts.enable.DynamicMethodInvocation HMBxj($eR  
      Allows one to disable dynamic method invocation from the URL xbIxtZm  
        允许动态方法调用  iKDGYM  
JK_sl>v.7  
struts.freemarker.manager.classname iJq}tIk#2'  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class GwpJxiFgk  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 50CU|  
Nf3L  
struts.i18n.encoding =6? 3c\  
      The encoding to use for localization messages d(h`bOjI  
      国际化信息内码 eX}uZR  
4).q+{#k  
struts.i18n.reload [/#;u*n  
      Whether the localization messages should automatically be reloaded %GAEZH,2sG  
      是否国际化信息自动加载 lGs fs(  
e\/Lcng  
struts.locale wJ+"JQY.J+  
      The default locale for the Struts application Nn%{K a  
      默认的国际化地区信息 5?QR  
4j/8Otn  
struts.mapper.class `57ffQR9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class V" I+E  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [t,7H  
zX(p\NU  
struts.multipart.maxSize aWW|.#L  
      The maximize size of a multipart request (file upload) H+-9R  
      multipart请求信息的最大尺寸(文件上传用) >?I[dYzut  
:)bm+xWFF  
struts.multipart.parser l 4(-yWC$H  
      The org.apache.struts2.dispatcher.multipart. Uw4KdC  
      MultiPartRequest parser implementation for a multipart request (file upload) Dk8" H >*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <0pBu7a  
^cd+W?  
#m|AQr|  
struts.multipart.saveDir AOhsat;O`  
      The directory to use for storing uploaded files HJM-;C](  
      设置存储上传文件的目录夹 ]M>mwnt+  
Z&YW9de@  
struts.objectFactory H$WuT;cTE  
      The com.opensymphony.xwork2.ObjectFactory implementation class A{Pp`*l  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6wfCC,2  
YWjw`,EA(  
struts.objectFactory.spring.autoWire mM1\s>o  
      Whether Spring should autoWire or not Bxak[>/  
      是否自动绑定Spring p-r}zc9@  
{dhGSM7  
struts.objectFactory.spring.useClassCache z1_\P) M  
      Whether Spring should use its class cache or not  !3}vl Y1  
      是否spring应该使用自身的cache JT,8/o  
a";(C ,:0  
struts.objectTypeDeterminer ^HQg$}=  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class h@t&n@8O?  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9psD"=/"  
o%5^dX&[  
struts.serve.static.browserCache p'uk V(B  
If static content served by the Struts filter should set browser caching header properties or not o"J}@nF  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Jah~h44&  
O\=3{  
struts.serve.static Mq8jPjL  
      Whether the Struts filter should serve static content or not ZFY t[:  
      是否struts过滤器应该提供静态内容 a3sXl+$D@  
O3PE w4yA  
struts.tag.altSyntax ]8<;,}#  
      Whether to use the alterative syntax for the tags or not ci <`*>l  
      是否可以用替代的语法替代tags wZ5 + H%x  
 =6Ihk  
struts.ui.templateDir a$l  
      The directory containing UI templates ]]J2#mN:n  
      UI templates的目录夹 g,@0 ;uVq  
Jo1n>Mo-j  
struts.ui.theme wWQv]c%  
      The default UI template theme ^ duNEu0*  
      默认的UI template主题 pc J5UJY  
CD;C z*c  
struts.url.http.port Gcna:w>6d  
      The HTTP port used by Struts URLs p'fU}B1  
      设置http端口 4N|^Joi  
w(zlHj  
struts.url.https.port PF+v[h;,  
      The HTTPS port used by Struts URLs lU`]yL  
      设置https端口 mp:%k\cF|  
w O;\,zU  
struts.url.includeParams bwR24>8lP  
      The default includeParams method to generate Struts URLs VImcW;Xa  
      在url中产生 默认的includeParams &'uFy0d,  
v}q3_m]   
(,#Rj$W  
struts.velocity.configfile (p08jR '5  
      The Velocity configuration file path  m_LW<'  
      velocity配置文件路径 z|; 7;TwA  
E5(\/;[*`  
struts.velocity.contexts 8M9 &CsT6  
      List of Velocity context names })rJU/  
      velocity的context列表 U?P5 cN  
wg\*FfQn  
- |n\  
struts.velocity.manager.classname <2Lcy&w_M  
      org.apache.struts2.views.velocity.VelocityManager implementation class &^KmfT5C  
      org.apache.struts2.views.velocity.VelocityManager接口名 Mn7nS:  
mojD  
struts.velocity.toolboxlocation B:Ec(USe  
      The location of the Velocity toolbox 20h|e+3  
      velocity工具盒的位置 m{4e+&S|  
struts.xslt.nocache xs_l+/cZ  
      Whether or not XSLT templates should not be cached :SjTkfU  
      是否XSLT模版应该被缓存 RG1~)5AL~Y  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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