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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 (n( fI f  
FeJr\|FT  
struts.action.extension ]bCq=6ZKR  
      The URL extension to use to determine if the request is meant for a Struts action ] 7;f?+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 kW=z+  
a.F Al@Br  
struts.configuration _K2?YY(#>  
      The org.apache.struts2.config.Configuration implementation class "T/>d%O1b  
        org.apache.struts2.config.Configuration接口名 lw%?z/HDf  
8am`6;O:!  
struts.configuration.files e>'H IO  
      A list of configuration files automatically loaded by Struts ^u)z{.z'H/  
      struts自动加载的一个配置文件列表 qf'm=efRyu  
<T?oKOD ]  
struts.configuration.xml.reload |BMV.Zi  
      Whether to reload the XML configuration or not @# P0M--X  
      是否加载xml配置(true,false) vP!GJX &n5  
iSK+GQ~  
struts.continuations.package D.!~dyI.,$  
      The package containing actions that use Rife continuations u}hF8eD  
      含有actions的完整连续的package名称 &UHPX?x  
_=6 rE  
struts.custom.i18n.resources +WJ(QZEhD  
      Location of additional localization properties files to load HYr}wG  
      加载附加的国际化属性文件(不包含.properties后缀) UO`;&e-DB  
ajhEL?%D  
struts.custom.properties z:Sigo_z[  
      Location of additional configuration properties files to load H2gj=krK  
      加载附加的配置文件的位置 QA!_} N4n  
s,VXc/  
qKS;x@  
struts.devMode C z#Z<:  
      Whether Struts is in development mode or not T4e\0.If  
      是否为struts开发模式 JF9yVE-  
\b8sG"G  
struts.dispatcher.parametersWorkaround !#ri5{od  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =Yo1v=wxN  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eS/B24;*  
tU wRE|_  
struts.enable.DynamicMethodInvocation G>qZxy`c  
      Allows one to disable dynamic method invocation from the URL d87vl13  
        允许动态方法调用 0x2!<z  
A?5E2T1L%.  
struts.freemarker.manager.classname 4S0>-?{  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class F7m?xy  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 }]1BO  
T<yP* b2E  
struts.i18n.encoding l|`9:H  
      The encoding to use for localization messages zZ-wG  
      国际化信息内码 +#@"*yj3  
bZ _mYyBh  
struts.i18n.reload MWk:sBCqr  
      Whether the localization messages should automatically be reloaded ;#GoGb4AM  
      是否国际化信息自动加载 jd`},X/  
w JwX[\  
struts.locale l*b)st_p%  
      The default locale for the Struts application PQW(EeQ  
      默认的国际化地区信息 Gnm4gF!BI  
iL{M+Ic  
struts.mapper.class gJt`?8t  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Bc-yxjsw  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 SZ![%)83  
S/vf'gj  
struts.multipart.maxSize rtJl _0`  
      The maximize size of a multipart request (file upload) tqPx$s  
      multipart请求信息的最大尺寸(文件上传用) Nb2Qp K  
9&%fq)gS  
struts.multipart.parser 6!iJ;1PeE  
      The org.apache.struts2.dispatcher.multipart. C8N{l:1f]  
      MultiPartRequest parser implementation for a multipart request (file upload) uNbH\qd=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) C.:=lo B  
_zxLwU1(x  
ulHn#)  
struts.multipart.saveDir 8 S`9dSc  
      The directory to use for storing uploaded files .N4  
      设置存储上传文件的目录夹 .UCt|> $  
lor8@Qz  
struts.objectFactory g3@Rl2yQJ  
      The com.opensymphony.xwork2.ObjectFactory implementation class 3b'tx!tFN  
      com.opensymphony.xwork2.ObjectFactory接口(spring) M_ 0zC1  
1xNVdI   
struts.objectFactory.spring.autoWire :R6bq!  
      Whether Spring should autoWire or not ^_I} x)i*@  
      是否自动绑定Spring M/D)".;  
B (/U3}w-  
struts.objectFactory.spring.useClassCache kpwt]]e*  
      Whether Spring should use its class cache or not hli|B+:m"  
      是否spring应该使用自身的cache Oh.ZPG=  
"o!{51!'  
struts.objectTypeDeterminer / il@`w;G  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #yseiVm;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 (LvS :?T}  
$ZPX]2D4B#  
struts.serve.static.browserCache ;wiao(t>4N  
If static content served by the Struts filter should set browser caching header properties or not `?*%$>W#"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 I|oT0y &  
V=I"-k}RL  
struts.serve.static &WXY'A=  
      Whether the Struts filter should serve static content or not E9j+o y  
      是否struts过滤器应该提供静态内容 T&Xl'=/  
>>l`,+y  
struts.tag.altSyntax  uD_v!  
      Whether to use the alterative syntax for the tags or not X#xFFDzN  
      是否可以用替代的语法替代tags %sh>;^58P  
r#PMy$7L  
struts.ui.templateDir _eSd nHWx  
      The directory containing UI templates LVIAF0kX  
      UI templates的目录夹 q:>^ "P{  
|as!Ui/J/  
struts.ui.theme S&O3HC  
      The default UI template theme ] U@o0  
      默认的UI template主题 -!RtH |P  
@YvOoTyb  
struts.url.http.port yn AB  
      The HTTP port used by Struts URLs + j+5ud`  
      设置http端口 uxn)R#?  
kEeo5X N  
struts.url.https.port e;bYaM4 UX  
      The HTTPS port used by Struts URLs %Kh4m7  
      设置https端口 8rZ!ia!  
C F!Sa6  
struts.url.includeParams MmPU7Nl%X  
      The default includeParams method to generate Struts URLs _3iHkQr  
      在url中产生 默认的includeParams #H [Bb2(j  
72W,FU~OD  
 I7+9~5p  
struts.velocity.configfile ~8 H_u  
      The Velocity configuration file path +1JH  
      velocity配置文件路径 p1pQU={<  
u*S=[dq  
struts.velocity.contexts qIUfPA=/_  
      List of Velocity context names %A1@&xrbl  
      velocity的context列表 R;whW:Tx  
))D:8l@  
Z0!5d<  
struts.velocity.manager.classname g]@ (E  
      org.apache.struts2.views.velocity.VelocityManager implementation class !  hd</_#  
      org.apache.struts2.views.velocity.VelocityManager接口名 s1Ok|31|  
<Tw>|cFT  
struts.velocity.toolboxlocation <F7kh[L_x  
      The location of the Velocity toolbox 0Q,g7K<d  
      velocity工具盒的位置 "eWk#/  
struts.xslt.nocache =.<@`1  
      Whether or not XSLT templates should not be cached WS-dS6Q}  
      是否XSLT模版应该被缓存 0|xIBg)  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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