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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 [R\=M'  
8m7;x/0ld  
struts.action.extension r=0j7^B#  
      The URL extension to use to determine if the request is meant for a Struts action ,D8&q?a  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 GLcd9|H  
 ~me\  
struts.configuration e>!E=J)j  
      The org.apache.struts2.config.Configuration implementation class MCHOK=G  
        org.apache.struts2.config.Configuration接口名 4cB&Hk  
B_tQeM  
struts.configuration.files kp; &cQu!  
      A list of configuration files automatically loaded by Struts p z @km  
      struts自动加载的一个配置文件列表 1M/$< kQ-N  
tQ[]Rc  
struts.configuration.xml.reload X~zRZ0  
      Whether to reload the XML configuration or not 6Pijvx^0  
      是否加载xml配置(true,false) to51hjV  
u GIr&`S  
struts.continuations.package ol#yjrv  
      The package containing actions that use Rife continuations 4Pf+]R  
      含有actions的完整连续的package名称 B~rU1Y)  
raF] k0{  
struts.custom.i18n.resources @Wz%KdXA  
      Location of additional localization properties files to load m0C{SBn-M  
      加载附加的国际化属性文件(不包含.properties后缀) 0@v 2*\D#  
UAKu_RO6S  
struts.custom.properties D&f!( n  
      Location of additional configuration properties files to load %r P !  
      加载附加的配置文件的位置 S ;h&5.p  
F-tFet  
dm  2EH  
struts.devMode 9.]kOs_  
      Whether Struts is in development mode or not ,\}k~ U99  
      是否为struts开发模式 ()B7(Y  
) H+d.Y  
struts.dispatcher.parametersWorkaround ETg{yBsp  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic HSC6;~U  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Tplg2p% k  
`Jqf**t  
struts.enable.DynamicMethodInvocation H\d;QN9Q;  
      Allows one to disable dynamic method invocation from the URL kw#X]`c3  
        允许动态方法调用 AbG&9=Ks  
D@*|24y  
struts.freemarker.manager.classname [tz u;/  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U\?+s2I)v  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Fq4lXlSB  
[!Ao,rt?Vg  
struts.i18n.encoding Q2FQhc@L(:  
      The encoding to use for localization messages ;da4\bppt  
      国际化信息内码 S!<"Swf:  
ovSH}h!  
struts.i18n.reload "G@E6{/  
      Whether the localization messages should automatically be reloaded ' rvE  
      是否国际化信息自动加载 w#rVSSXQ3  
hu&n=6  
struts.locale IG&B2*  
      The default locale for the Struts application )Z&HuEg{ZR  
      默认的国际化地区信息 w?i)/q  
:S#i9# aB  
struts.mapper.class ~7dF/Nn5  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class oHk27U G  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [)0 R'xL6  
f:&)"  
struts.multipart.maxSize IBDVFA  
      The maximize size of a multipart request (file upload) =~ '^;D  
      multipart请求信息的最大尺寸(文件上传用) 7<vy;"wB  
!9PX\Xbn  
struts.multipart.parser *iYMX[$  
      The org.apache.struts2.dispatcher.multipart. ~Z7)x7 z  
      MultiPartRequest parser implementation for a multipart request (file upload) 1S&0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) A^t"MYX@  
R7,p ukK  
B9AbKK$`  
struts.multipart.saveDir b70AJe=  
      The directory to use for storing uploaded files vLr&ay!w  
      设置存储上传文件的目录夹 -G FwFkWm  
l -XnB   
struts.objectFactory n~.%p  
      The com.opensymphony.xwork2.ObjectFactory implementation class [Zh2DNp  
      com.opensymphony.xwork2.ObjectFactory接口(spring) y%JF8R;n  
m+p4Mc%u  
struts.objectFactory.spring.autoWire URk$}_39  
      Whether Spring should autoWire or not x!>d 6lgej  
      是否自动绑定Spring pA*i!.E/b  
o;E (Kj  
struts.objectFactory.spring.useClassCache =m7CJc  
      Whether Spring should use its class cache or not 8pd&3G+  
      是否spring应该使用自身的cache k~& o  
v,8Si'"i+  
struts.objectTypeDeterminer kF#{An)P  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class M*v^N]>"G  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 G%Y*q(VrEu  
\_?yzgf  
struts.serve.static.browserCache (&k') ff9K  
If static content served by the Struts filter should set browser caching header properties or not .a5X*M]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 s* @QT8%  
?,!uA)({n  
struts.serve.static am3V9 "\  
      Whether the Struts filter should serve static content or not uht(3  
      是否struts过滤器应该提供静态内容 $vz_%Y  
QP'qG@j[:  
struts.tag.altSyntax 9OH.&g  
      Whether to use the alterative syntax for the tags or not `..EQ BM  
      是否可以用替代的语法替代tags dWMccn;-m  
3Nc'3NPQ'  
struts.ui.templateDir e5QOB/e&  
      The directory containing UI templates ]Kof sU_{  
      UI templates的目录夹 3Sk5I%  
EkDws `@  
struts.ui.theme 9GtLMpy  
      The default UI template theme makaI0M  
      默认的UI template主题 U-ERhm>uk  
kja4!_d  
struts.url.http.port 6V+V zDo  
      The HTTP port used by Struts URLs =P 1RdyP  
      设置http端口 hjw4Xzju  
.vN)A *  
struts.url.https.port /nwxuy  
      The HTTPS port used by Struts URLs uwmoM>I W^  
      设置https端口 6Q?BwD+>  
$# D n4  
struts.url.includeParams cn@03&dAl  
      The default includeParams method to generate Struts URLs c]S+70!n  
      在url中产生 默认的includeParams  |h  
}5QZ6i#  
BDWim`DK"  
struts.velocity.configfile d~w}NK[(  
      The Velocity configuration file path hkkF1 h  
      velocity配置文件路径 \dC.%#  
,"x23=]  
struts.velocity.contexts Pv^(Q ]  
      List of Velocity context names <yis  
      velocity的context列表 4 `j,&=  
6\%r6_.d  
4F}g(  
struts.velocity.manager.classname -/@|2!d  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?f(pQy@V  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~JIywzcf8  
9Ilfv  
struts.velocity.toolboxlocation =PI^X\if88  
      The location of the Velocity toolbox B?$S~5  }  
      velocity工具盒的位置 +ZY2a7uI  
struts.xslt.nocache b5lk0jA  
      Whether or not XSLT templates should not be cached &8pCHGmV)  
      是否XSLT模版应该被缓存 <)r,CiS  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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