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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 f\5w@nX  
!{ *yWpZ:  
struts.action.extension Q>Ct]JW&  
      The URL extension to use to determine if the request is meant for a Struts action 9]N{8  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 qJF'KHyU{l  
wdj?T`4  
struts.configuration <e#v9=}DI  
      The org.apache.struts2.config.Configuration implementation class Q@}SR%p  
        org.apache.struts2.config.Configuration接口名 z:S:[X 0  
6<@ mB Z  
struts.configuration.files  ,7:GLkj  
      A list of configuration files automatically loaded by Struts { 1~]}K2  
      struts自动加载的一个配置文件列表 1D[V{)#  
K 'I6iCrD  
struts.configuration.xml.reload DI)"F OM6  
      Whether to reload the XML configuration or not 3B;Gm<fJ9N  
      是否加载xml配置(true,false) l\0PwD  
[;hkT   
struts.continuations.package kYCm5g3u  
      The package containing actions that use Rife continuations sT=|"H?  
      含有actions的完整连续的package名称 #}fvjJ{  
Q}Ah{H0C  
struts.custom.i18n.resources n7i~^nf>  
      Location of additional localization properties files to load tX% C5k  
      加载附加的国际化属性文件(不包含.properties后缀) ,eTdQI;   
G[e,7jev  
struts.custom.properties EwcFxLa!F  
      Location of additional configuration properties files to load _S[@?]=`b  
      加载附加的配置文件的位置 NI"Zocp  
o~Hq&C"^}  
Zbl*U(KU?  
struts.devMode o_\vudXK  
      Whether Struts is in development mode or not =oXlJ[)h  
      是否为struts开发模式 XR8`,qH>  
)J]NBE:8  
struts.dispatcher.parametersWorkaround IZdWEbN1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic B (eXWWT_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) X*#\JF4$i  
!0^4D=dO  
struts.enable.DynamicMethodInvocation CD`6R.  
      Allows one to disable dynamic method invocation from the URL 1\Bh-tzB  
        允许动态方法调用 auIW>0?}  
5Bq;Vb  
struts.freemarker.manager.classname %@(+`CCA  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _!|$i  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 t{UWb~"  
|H=5Am  
struts.i18n.encoding n[y=DdiKGS  
      The encoding to use for localization messages .+Q1h61$T  
      国际化信息内码 p]X+#I<  
D*46,>Tv  
struts.i18n.reload ^xk4HF   
      Whether the localization messages should automatically be reloaded ;s~xS*(C  
      是否国际化信息自动加载 ZwxEcs+UM  
B^M L}$  
struts.locale R4)l4rnO  
      The default locale for the Struts application wqm{f~nj=  
      默认的国际化地区信息 vR#MUKfh  
fWJOP sp*/  
struts.mapper.class g<~ODMCO?W  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class orWF>o=1  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =}%:4  
lp d~U2&  
struts.multipart.maxSize  o4 "HE*  
      The maximize size of a multipart request (file upload) wmK;0 )|H  
      multipart请求信息的最大尺寸(文件上传用) }x{1{Bw>Y  
(j:[<U  
struts.multipart.parser P\[K)N/1  
      The org.apache.struts2.dispatcher.multipart. gzK/l:  
      MultiPartRequest parser implementation for a multipart request (file upload) Gn6\n'r0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .@r{Tq,%q8  
VwBw!,%Ab  
7^)yo#i4  
struts.multipart.saveDir [$$R>ELYQ  
      The directory to use for storing uploaded files ;E{@)X..|  
      设置存储上传文件的目录夹 'M?pg$ta_V  
U4a8z<l$  
struts.objectFactory }j6|+  
      The com.opensymphony.xwork2.ObjectFactory implementation class L#D)[v"  
      com.opensymphony.xwork2.ObjectFactory接口(spring) =.J>'9Q  
~y Dl & S  
struts.objectFactory.spring.autoWire |VE.khq#  
      Whether Spring should autoWire or not `{yD\qDyX  
      是否自动绑定Spring +|oLS_  
.2P3 !KCL  
struts.objectFactory.spring.useClassCache 7"eIZ  
      Whether Spring should use its class cache or not U1yspHiZ  
      是否spring应该使用自身的cache -hF!_);{  
rWJRoGk/  
struts.objectTypeDeterminer y q2AZ@}"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class wko9tdC=U  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Z[RifqaBby  
B}y#AVSA  
struts.serve.static.browserCache ]We0 RD"+  
If static content served by the Struts filter should set browser caching header properties or not t ~]' {[F  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d]_].D$  
tT A  
struts.serve.static o|n+;h  
      Whether the Struts filter should serve static content or not V#4oxkm  
      是否struts过滤器应该提供静态内容 {R7RBX  
DjZTr}%q  
struts.tag.altSyntax blG?("0!  
      Whether to use the alterative syntax for the tags or not KKg\n^  
      是否可以用替代的语法替代tags :[PA.Upi  
hOqNZ66{  
struts.ui.templateDir rCGKE`H  
      The directory containing UI templates Q[!?SSX%  
      UI templates的目录夹 otdv;xI9  
ykx13|iR  
struts.ui.theme gpbdK?  
      The default UI template theme MD 0d  
      默认的UI template主题 INCanE`+  
&"1_n]JO  
struts.url.http.port ls "Z4v(L6  
      The HTTP port used by Struts URLs sV%=z}n=  
      设置http端口 frQ=BV5%6  
oY\;KPz  
struts.url.https.port -G1R><8[  
      The HTTPS port used by Struts URLs Uu`}| &@i  
      设置https端口 ]]u_Mdk  
rJp9ut'FEz  
struts.url.includeParams o9{1_7K  
      The default includeParams method to generate Struts URLs NP.qh1{NP  
      在url中产生 默认的includeParams  j)mS3#cH  
E_z,%aD[  
! OVi\v 'm  
struts.velocity.configfile je:J`4k$  
      The Velocity configuration file path |<8g 2A{X  
      velocity配置文件路径 2fm6G).m  
=(<7o_gJ  
struts.velocity.contexts @71y:)W<  
      List of Velocity context names > JTf0/  
      velocity的context列表 % 5!Y#$:{o  
: T4ap_Ycq  
v49 i.c9  
struts.velocity.manager.classname 1 !.P H   
      org.apache.struts2.views.velocity.VelocityManager implementation class xnZ  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;$r!eFY;  
Nw1 .x  
struts.velocity.toolboxlocation *z'Rl'j9[  
      The location of the Velocity toolbox ccW{88II7w  
      velocity工具盒的位置 #\}xyPS  
struts.xslt.nocache p2GN93,u@P  
      Whether or not XSLT templates should not be cached q~\[P4m  
      是否XSLT模版应该被缓存 #KLW&A  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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