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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 PamO8^!G  
=Jyu4j *}  
struts.action.extension u)+8S/ )  
      The URL extension to use to determine if the request is meant for a Struts action 'Wm x)0)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \RC'XKQ*n  
5Ou`z5S\k  
struts.configuration woK&q7Vn  
      The org.apache.struts2.config.Configuration implementation class RO'7\xvn  
        org.apache.struts2.config.Configuration接口名 }E50>g  
Na]:_K5Dp  
struts.configuration.files ;z$(nhJ  
      A list of configuration files automatically loaded by Struts hvsWs.;L'  
      struts自动加载的一个配置文件列表 ?fi,ifp*|l  
]QlwR'&j/n  
struts.configuration.xml.reload huh6t !  
      Whether to reload the XML configuration or not b?tB(if!I  
      是否加载xml配置(true,false) j}.\]$J  
CDK 5  
struts.continuations.package !xo{-@@wS  
      The package containing actions that use Rife continuations fof TP1  
      含有actions的完整连续的package名称 d,B:kE0Y  
] Zy5%gI  
struts.custom.i18n.resources s;01u_  
      Location of additional localization properties files to load {#?N  
      加载附加的国际化属性文件(不包含.properties后缀)  Ac2n  
{Tq_7,8  
struts.custom.properties V{/?FO?E  
      Location of additional configuration properties files to load a%/9v"}  
      加载附加的配置文件的位置 s@K4u^$A  
.$+#1-  
61k"p2?+  
struts.devMode BBwy,\o#  
      Whether Struts is in development mode or not  3KlbP  
      是否为struts开发模式 gd`!tRcNY  
i@"@9n~  
struts.dispatcher.parametersWorkaround M_/7D|xl/T  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic QI'Oz{vE  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Z`ID+  
5B3G @KR  
struts.enable.DynamicMethodInvocation \fz<.l]  
      Allows one to disable dynamic method invocation from the URL A$Hfr8w1u  
        允许动态方法调用 R{<kW9!  
Q ayPo]O  
struts.freemarker.manager.classname jaII r06  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class v3~?;f,l  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _=F=`xu  
cPyE 6\lN  
struts.i18n.encoding X86O lP)eX  
      The encoding to use for localization messages D9^h; 8  
      国际化信息内码 n|Q@UPb/=  
cUKE   
struts.i18n.reload Hq:X{)"  
      Whether the localization messages should automatically be reloaded qr"3y  
      是否国际化信息自动加载 x[ ~b2o  
Lt?lv2k=L  
struts.locale Y']\Jq{OS  
      The default locale for the Struts application cQCSe,$ W  
      默认的国际化地区信息 4i)1'{e  
%[Wh [zZy  
struts.mapper.class \XCe22x]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class EE&K0<?T|:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1"MhGNynB>  
riY~%9iV'  
struts.multipart.maxSize AG`L64B  
      The maximize size of a multipart request (file upload) A5c%SCq;  
      multipart请求信息的最大尺寸(文件上传用) KX,S  
;=)k<6  
struts.multipart.parser wh$sn:J  
      The org.apache.struts2.dispatcher.multipart. iVhJ t#_b  
      MultiPartRequest parser implementation for a multipart request (file upload) >E;uU[v)I  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \A 2r]  
K[YI4pt7  
kCWV r  
struts.multipart.saveDir YxYH2*q@  
      The directory to use for storing uploaded files >JHryS.j$4  
      设置存储上传文件的目录夹 j4gF;-m<  
N.,X<G.H  
struts.objectFactory t3 8m'J :>  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?~BC#B\>o  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Gw/Pk4R  
S 6@u@C  
struts.objectFactory.spring.autoWire 4KhV|#-;k  
      Whether Spring should autoWire or not _mqL8ho  
      是否自动绑定Spring )B"jF>9)[  
LO9=xGj.  
struts.objectFactory.spring.useClassCache cLpYW7vZ[  
      Whether Spring should use its class cache or not ~7*.6YnI  
      是否spring应该使用自身的cache |mxDjgq  
!JHL\M>A5  
struts.objectTypeDeterminer Ra)3+M!x  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]#)()6)2v  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?PuBa`zDE  
'}ptj@,  
struts.serve.static.browserCache ] {RDVA=]  
If static content served by the Struts filter should set browser caching header properties or not ;w{tv($$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 T"{>t  
'.IW.{;$  
struts.serve.static dyz2.ZY~2  
      Whether the Struts filter should serve static content or not EizKoHI-z  
      是否struts过滤器应该提供静态内容 M8kPj8}{  
+ nrbShV  
struts.tag.altSyntax jl4rbzse  
      Whether to use the alterative syntax for the tags or not K -nF lPm\  
      是否可以用替代的语法替代tags ~ (|5/ p7t  
d[@X%  
struts.ui.templateDir {j.bC@hWw  
      The directory containing UI templates Ec3}_`  
      UI templates的目录夹 | k&Ck  
\(?rQg@U  
struts.ui.theme hci6P>h<ia  
      The default UI template theme ? &o2st  
      默认的UI template主题 pA'4|ffwe  
zqimR#u  
struts.url.http.port b z`+k,*  
      The HTTP port used by Struts URLs B nFwlw  
      设置http端口 1{)5<!9!l  
b6 cBg  
struts.url.https.port N]>=p.#j  
      The HTTPS port used by Struts URLs zGb|)A~,  
      设置https端口 5kc/Y/4o  
f',Op1o  
struts.url.includeParams \j@OZ   
      The default includeParams method to generate Struts URLs 1!xQ=DU"  
      在url中产生 默认的includeParams 6dq(T_eG  
ne>pOK<vZ  
Nyku4r0  
struts.velocity.configfile l5S aT,%  
      The Velocity configuration file path )Kc<j!8-[  
      velocity配置文件路径 $SlIr<'*"  
Bd!bg|uO*  
struts.velocity.contexts Z^bQ^zk-  
      List of Velocity context names ,;EIh}  
      velocity的context列表 D$w6V  
v,FU^f-'  
3+)J @(a  
struts.velocity.manager.classname 3 ]5^r}  
      org.apache.struts2.views.velocity.VelocityManager implementation class #3i3G(mQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 [;n9:Qxf  
G?L HmTHg  
struts.velocity.toolboxlocation q$0*b]=E  
      The location of the Velocity toolbox .p<:II:6  
      velocity工具盒的位置 nD_GL  
struts.xslt.nocache hE-h`'ha`  
      Whether or not XSLT templates should not be cached @x*c1%wg  
      是否XSLT模版应该被缓存 L7n D|  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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