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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 p0l.f`B  
h -091N  
struts.action.extension g3Hi5[-H  
      The URL extension to use to determine if the request is meant for a Struts action W >}T$a}\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g`.H)36  
''!j:49  
struts.configuration q@VIFmqY!  
      The org.apache.struts2.config.Configuration implementation class nox-)e  
        org.apache.struts2.config.Configuration接口名 saQo]6#  
&t_TLV 8T  
struts.configuration.files e}7!A  
      A list of configuration files automatically loaded by Struts =;) =,+V~q  
      struts自动加载的一个配置文件列表 Buq(L6P9r  
EKN<KnU%  
struts.configuration.xml.reload K&gE4;>  
      Whether to reload the XML configuration or not k 7@:e$7  
      是否加载xml配置(true,false) ~q/~ u  
Qz2jV  
struts.continuations.package jeA2y jAC  
      The package containing actions that use Rife continuations C{G=Y[?oc  
      含有actions的完整连续的package名称 -{z[.v.p  
8ql<7RTM!  
struts.custom.i18n.resources 4OO^%`=)M'  
      Location of additional localization properties files to load {9j0k`A  
      加载附加的国际化属性文件(不包含.properties后缀) x5;D'Y t"|  
Q?([#  
struts.custom.properties R*k;4*1u  
      Location of additional configuration properties files to load a0B%x!y^  
      加载附加的配置文件的位置 "fSaM&@[B  
U;u4ey  
Al *yx_j  
struts.devMode 6L Fhhl^  
      Whether Struts is in development mode or not Uqj$itqUQ  
      是否为struts开发模式 =eDC{/K  
u$ o 19n  
struts.dispatcher.parametersWorkaround @(N} {om  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic s9+lC!!  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) j b'M  
"qZTgCOY2  
struts.enable.DynamicMethodInvocation FLkZZ\  
      Allows one to disable dynamic method invocation from the URL )?l7I*  
        允许动态方法调用 VJCj=jX  
8 K)GH:a  
struts.freemarker.manager.classname 6e5A8e8"]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class w_~tY*IwB  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =1)9>=}  
oz|+{b}%  
struts.i18n.encoding }"%mP 4]&  
      The encoding to use for localization messages ]y$/~(OW  
      国际化信息内码 pV 8U`T  
S?D]P'<  
struts.i18n.reload z 3Z8vq  
      Whether the localization messages should automatically be reloaded V;)+v#4{  
      是否国际化信息自动加载 L7xiq{t`Y  
9j-;-`$S  
struts.locale h:FN&E c}  
      The default locale for the Struts application R]>0A3P  
      默认的国际化地区信息 d:cOdm>,  
GlJOb|WOX  
struts.mapper.class Dd, &a  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class XI`s M~'  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y(T$k9%}+  
rF{,]U9`  
struts.multipart.maxSize auY?Cj'"fs  
      The maximize size of a multipart request (file upload) ]1h9:PF  
      multipart请求信息的最大尺寸(文件上传用) |A0U 3$S=  
ajkpU.6E:  
struts.multipart.parser XGYsTquSe  
      The org.apache.struts2.dispatcher.multipart. m?4HVv  
      MultiPartRequest parser implementation for a multipart request (file upload) 9 *v14c%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) @cx#'  
heb{i5el  
!V4(- 8  
struts.multipart.saveDir vYo~36  
      The directory to use for storing uploaded files m|]"e@SF2  
      设置存储上传文件的目录夹 o(D_ /]'8  
q8R,#\T*  
struts.objectFactory 'fzJw  
      The com.opensymphony.xwork2.ObjectFactory implementation class zpNt[F?~1  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]'>jw#|h  
Go]y{9+(7  
struts.objectFactory.spring.autoWire {aopGu?i  
      Whether Spring should autoWire or not W55kR.X6M  
      是否自动绑定Spring &a\G,Ma  
:Z83*SPc  
struts.objectFactory.spring.useClassCache u2I@ fH/  
      Whether Spring should use its class cache or not a |]}uFr  
      是否spring应该使用自身的cache D&],.N  
c% ?@3d  
struts.objectTypeDeterminer bpDlFa  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3lS1WA   
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 tpgD{BY^wJ  
b`;&o^7gMO  
struts.serve.static.browserCache Gsm.a  
If static content served by the Struts filter should set browser caching header properties or not ,d^HAg^j  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;vk>k0S  
/7.//klN  
struts.serve.static +*e Vi3  
      Whether the Struts filter should serve static content or not <0Gk:NB,  
      是否struts过滤器应该提供静态内容 z'gJy  
ybIqn0&[  
struts.tag.altSyntax iUqD>OV  
      Whether to use the alterative syntax for the tags or not 9El{>&Fs4  
      是否可以用替代的语法替代tags yU~w Zjw  
a'>n'Y~E  
struts.ui.templateDir $o)}@TC  
      The directory containing UI templates 8ddBQfCY  
      UI templates的目录夹 qR%as0;  
YWk+}y}^d  
struts.ui.theme Tg=P*HY6  
      The default UI template theme  Tx'anP  
      默认的UI template主题 4:s,e<Tc4v  
&C?4'e  
struts.url.http.port br?pfs$U  
      The HTTP port used by Struts URLs f&Juq8s_0  
      设置http端口 lXVh`+X/l  
- Sn]`  
struts.url.https.port B_3N:K Y 9  
      The HTTPS port used by Struts URLs UzV78^:,iD  
      设置https端口 '@^mesMG  
\r3SvBwhFv  
struts.url.includeParams diKl}V#u  
      The default includeParams method to generate Struts URLs q$<VLrx  
      在url中产生 默认的includeParams "5\6`\/  
}/L#<n`Z  
*A0d0M]cg  
struts.velocity.configfile R|*Eg,1g -  
      The Velocity configuration file path IfP?+yPa  
      velocity配置文件路径 eK\i={va  
x-q_sZ^8  
struts.velocity.contexts Juk'eH2^s  
      List of Velocity context names 5n e&6  
      velocity的context列表 | `?J2WGe  
@ykl:K%ke  
Nr*o RYY  
struts.velocity.manager.classname V'K:52  
      org.apache.struts2.views.velocity.VelocityManager implementation class )]zsAw`/  
      org.apache.struts2.views.velocity.VelocityManager接口名 M~.1:%khM  
W*u$e8i7  
struts.velocity.toolboxlocation m,rkKhXP  
      The location of the Velocity toolbox 'W&ewZH_h  
      velocity工具盒的位置 wf^p?=Ke  
struts.xslt.nocache 60xL.Z   
      Whether or not XSLT templates should not be cached Vf$$e)  
      是否XSLT模版应该被缓存 qtz~Y~h|>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五