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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 S.q0L  
rBy0hGx  
struts.action.extension Upcx@zJ  
      The URL extension to use to determine if the request is meant for a Struts action #,1z=/d.  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 lNl.lI\t)y  
aAG']y  
struts.configuration k GYsjhL\d  
      The org.apache.struts2.config.Configuration implementation class l-S0Gn/'X  
        org.apache.struts2.config.Configuration接口名 ~*<`PDO?  
9Oo`4  
struts.configuration.files GlRjbNW?Q  
      A list of configuration files automatically loaded by Struts 'cQ,;y  
      struts自动加载的一个配置文件列表 >Gk<a  
po,U e>n/  
struts.configuration.xml.reload %[M0TE=J  
      Whether to reload the XML configuration or not J9DI(`  
      是否加载xml配置(true,false) {9.UeVz  
z%iPk'^  
struts.continuations.package S8v?H|rm  
      The package containing actions that use Rife continuations p . P#S  
      含有actions的完整连续的package名称 ;Krb/qr4_  
w5 ]lU  
struts.custom.i18n.resources 5X>~39(r  
      Location of additional localization properties files to load \NEk B&^n  
      加载附加的国际化属性文件(不包含.properties后缀) )+=Kh$VbS  
c_?^:xs:d  
struts.custom.properties ,2+d+Zuh  
      Location of additional configuration properties files to load UUb0[oy  
      加载附加的配置文件的位置 |5X59! JL  
c 3o3i  
z;Fz3s7  
struts.devMode _\Z'Yl  
      Whether Struts is in development mode or not dqo-.,=  
      是否为struts开发模式 1~3dX[&  
:]CL}n$*  
struts.dispatcher.parametersWorkaround ;Bj&9DZd  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic a1/+C$ oB  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) k;2.g$)W[c  
* fj`+J  
struts.enable.DynamicMethodInvocation uOy/c 8`  
      Allows one to disable dynamic method invocation from the URL cAot+N+9|]  
        允许动态方法调用 0a#v}w^ *  
pV_zePyOn  
struts.freemarker.manager.classname -.ZP<,?@F  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \i@R5v=zL  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q9{)nU  
!!)$?R;1  
struts.i18n.encoding ,4 _H{+M  
      The encoding to use for localization messages "PO8Q  
      国际化信息内码 AI#.+PrC{/  
`wU['{=  
struts.i18n.reload 1#Hr{&2  
      Whether the localization messages should automatically be reloaded x?0K'  
      是否国际化信息自动加载 l^B4.1rT  
)pT5"{  
struts.locale F]r'j ZL  
      The default locale for the Struts application @TX@78fWz=  
      默认的国际化地区信息 )*{B_[  
u%E8&T8,  
struts.mapper.class U1pE2o-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class p@uHzu7  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8"g+ k`PRy  
MSeg7/MF  
struts.multipart.maxSize ,|>>z#Rr(n  
      The maximize size of a multipart request (file upload) JtxVF !v  
      multipart请求信息的最大尺寸(文件上传用) lNyyL Lt  
ilHf5$  
struts.multipart.parser &z:bZH]DH  
      The org.apache.struts2.dispatcher.multipart. ?eX/vqk  
      MultiPartRequest parser implementation for a multipart request (file upload) 92A9gY  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8wOscL f:  
bHE.EBZ  
ag47$9(  
struts.multipart.saveDir g<M!]0OK  
      The directory to use for storing uploaded files \4G9YK-N>  
      设置存储上传文件的目录夹 l 'wu-  
~yw]<{?  
struts.objectFactory a|oh Ad  
      The com.opensymphony.xwork2.ObjectFactory implementation class w4\ 3*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) " M?dU^U^  
~+Pe=~a[  
struts.objectFactory.spring.autoWire f+n {9Hz  
      Whether Spring should autoWire or not ;DYS1vGo  
      是否自动绑定Spring NFx%e  
g)r{LxT#+  
struts.objectFactory.spring.useClassCache xsJXf @  
      Whether Spring should use its class cache or not 6vE#$(n#a&  
      是否spring应该使用自身的cache UdM2!f  
./Ek+p*96H  
struts.objectTypeDeterminer 6o3#<ap<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0 D '^:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _8 0L/92  
bEQ-? X%7  
struts.serve.static.browserCache Xo~q}(ze^  
If static content served by the Struts filter should set browser caching header properties or not 0+@:f^3]!  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ZCc23UwI  
6?KUS}nRS  
struts.serve.static zb!1o0, J  
      Whether the Struts filter should serve static content or not .IdbaH _a  
      是否struts过滤器应该提供静态内容 4* >j:1  
K$/"I0YyI  
struts.tag.altSyntax 'b}RFzEn  
      Whether to use the alterative syntax for the tags or not /NCN wAj7  
      是否可以用替代的语法替代tags GP hhg  
l7^^Mnk C  
struts.ui.templateDir 8zj&e8&v  
      The directory containing UI templates 5 D^#6h 4  
      UI templates的目录夹 l/zv >  
Y)5O %@Rl  
struts.ui.theme la-:"gKC  
      The default UI template theme Y3&,U  
      默认的UI template主题 [Tbnfst  
tJ>>cFx  
struts.url.http.port fK+E5~vQ  
      The HTTP port used by Struts URLs %,02i@Fc  
      设置http端口 Q*ELMib  
w->Y92q]  
struts.url.https.port , ftJw  
      The HTTPS port used by Struts URLs "49dsKIOH  
      设置https端口 {%9@{Q'T.s  
UhS:tT]7  
struts.url.includeParams $o5i15Oy.  
      The default includeParams method to generate Struts URLs l:UKU!  
      在url中产生 默认的includeParams m+s*Io{Ip  
63Gq5dF  
tNzO1BK  
struts.velocity.configfile HB5-B XBU  
      The Velocity configuration file path * BR#^Wt  
      velocity配置文件路径 } f&=}  
Zf!Q4a"  
struts.velocity.contexts r2.w4RMFua  
      List of Velocity context names klFS3G  
      velocity的context列表 sV{\IgH/x  
r1<*=Fs=>>  
&Y=~j?~Xm  
struts.velocity.manager.classname ^$lZ  
      org.apache.struts2.views.velocity.VelocityManager implementation class $u~ui@kB  
      org.apache.struts2.views.velocity.VelocityManager接口名 Q> y!  
0'pB7^y  
struts.velocity.toolboxlocation ]7W!f 2@  
      The location of the Velocity toolbox (E00T`@t0i  
      velocity工具盒的位置 Ru*gbv,U  
struts.xslt.nocache Pm)*zdZ8  
      Whether or not XSLT templates should not be cached $G"\@YC<  
      是否XSLT模版应该被缓存 )/)u.$pi  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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