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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 TfqQh!Y  
$F86Dwd  
struts.action.extension C9FQo7   
      The URL extension to use to determine if the request is meant for a Struts action )~[hf,R5S  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g"L$}#iTsl  
giz#(61j^  
struts.configuration ].<B:]:,  
      The org.apache.struts2.config.Configuration implementation class _8"%nV  
        org.apache.struts2.config.Configuration接口名 =`6_{<&  
y2 ,M9  
struts.configuration.files YV>]c9!q  
      A list of configuration files automatically loaded by Struts ln6Hr^@5  
      struts自动加载的一个配置文件列表 }Qm: g  
o Kfm=TbY  
struts.configuration.xml.reload *R6Ed  
      Whether to reload the XML configuration or not (-U6woB6o  
      是否加载xml配置(true,false) BSB;0OM  
i>68gfx  
struts.continuations.package 6S# e?>"+  
      The package containing actions that use Rife continuations Cl5l+I\1  
      含有actions的完整连续的package名称 mxJ& IV  
h|j $Jy  
struts.custom.i18n.resources G>);8T%l  
      Location of additional localization properties files to load N8^ AH8l  
      加载附加的国际化属性文件(不包含.properties后缀) F"<TV&xf  
:v!e8kM\x  
struts.custom.properties OWRT6R4v  
      Location of additional configuration properties files to load VgO:`bDF  
      加载附加的配置文件的位置 ~SRK}5E  
sox0:9Oqnf  
Xo:!U=m/#  
struts.devMode lef,-{X-  
      Whether Struts is in development mode or not RHc-kggk!  
      是否为struts开发模式 ?(4E le  
`'Af`u\R  
struts.dispatcher.parametersWorkaround eZMDtB  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic MM*B.y~TxZ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) OJGEX}3'  
uwcm%N;I"  
struts.enable.DynamicMethodInvocation "Vg1'd}f  
      Allows one to disable dynamic method invocation from the URL ;ctJ9"_g  
        允许动态方法调用 \Y0o~JD  
0 xUw}T6  
struts.freemarker.manager.classname 1@)kNg)*$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &]'{N69@d?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 75+#)hNa!P  
ke sg]K  
struts.i18n.encoding t0 1@h_ WS  
      The encoding to use for localization messages GEdWpYKS-`  
      国际化信息内码 I0 78[3b  
?~vVSY  
struts.i18n.reload `*J;4Ju@  
      Whether the localization messages should automatically be reloaded 0Y_?r$M  
      是否国际化信息自动加载 QU]& q`GE  
.>Gnb2  
struts.locale l$PSID  
      The default locale for the Struts application rff=ud>Jf  
      默认的国际化地区信息 sw={bUr6G`  
[\ M$a|K  
struts.mapper.class R aVOZ=^-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1VlRdDg  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 OR&'  
X0\2qD  
struts.multipart.maxSize 4&}V3"lg  
      The maximize size of a multipart request (file upload) ^usZ&9"@P  
      multipart请求信息的最大尺寸(文件上传用) vr,8i7*0  
TN xl?5:  
struts.multipart.parser yJCqP=  
      The org.apache.struts2.dispatcher.multipart. %V,2,NCd  
      MultiPartRequest parser implementation for a multipart request (file upload) Rqi= AQ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gn2*'_V~3  
T<hS  
_GoV\wGKl  
struts.multipart.saveDir o$*aAgS+  
      The directory to use for storing uploaded files >UUcKq1M:  
      设置存储上传文件的目录夹  ZA u=m  
+VJS/  
struts.objectFactory TzaR{0 1  
      The com.opensymphony.xwork2.ObjectFactory implementation class 3pxZk%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) w\"~ *(M  
k<.$7Pl3U  
struts.objectFactory.spring.autoWire [~3[Tu( C  
      Whether Spring should autoWire or not eP d  
      是否自动绑定Spring -8HK_eQn  
scf.> K2  
struts.objectFactory.spring.useClassCache eb6Ux  
      Whether Spring should use its class cache or not }ZQ)]Mr  
      是否spring应该使用自身的cache }V:B,:  
\k DQ[4mGq  
struts.objectTypeDeterminer aVg~/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ans(^Up$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;PS V3Zh  
 Re=()M  
struts.serve.static.browserCache Kyf,<z F  
If static content served by the Struts filter should set browser caching header properties or not S!Alno  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 lOp7rW]$  
86*9GS?U(  
struts.serve.static J!{t/_aw  
      Whether the Struts filter should serve static content or not F@]9 oF  
      是否struts过滤器应该提供静态内容 2)~`.CD?L  
TpAE9S  
struts.tag.altSyntax 6`PQP;   
      Whether to use the alterative syntax for the tags or not S/itK3  
      是否可以用替代的语法替代tags V-{3)6I$hG  
^n?`l ^9c$  
struts.ui.templateDir R@X65o  
      The directory containing UI templates ,QeJ;U  
      UI templates的目录夹 :*=fGwIWS  
L@5j? N?F  
struts.ui.theme (-no`j  
      The default UI template theme ^xyU *A}D  
      默认的UI template主题  )>=!</@  
`hl8j\HV<}  
struts.url.http.port r|_@S[hZg  
      The HTTP port used by Struts URLs khc1<BBsT  
      设置http端口 Sl;[9l2  
vg-Ah6BC{  
struts.url.https.port _qxBjB4t"a  
      The HTTPS port used by Struts URLs 0!Vza?9  
      设置https端口 y+aKk6(_W  
Ka_g3  
struts.url.includeParams :MP*Xy\7&J  
      The default includeParams method to generate Struts URLs Ki\\yK  
      在url中产生 默认的includeParams VnYcqeCm  
O#do\:(b  
)n&6= Li  
struts.velocity.configfile Op'&c0l  
      The Velocity configuration file path T4nWK!}z  
      velocity配置文件路径 'ti~TG  
0clq}  
struts.velocity.contexts q$;j1X^  
      List of Velocity context names *mJ\Tzc)  
      velocity的context列表 oj(st{,  
k\TP3*fD  
j"A<qI  
struts.velocity.manager.classname F%:74.]Y  
      org.apache.struts2.views.velocity.VelocityManager implementation class s&4&\Aq}x#  
      org.apache.struts2.views.velocity.VelocityManager接口名 :4r{t?ytXw  
WfXwI 'y  
struts.velocity.toolboxlocation q@^^jlHP  
      The location of the Velocity toolbox {4$aA*  
      velocity工具盒的位置 X<D fzd oI  
struts.xslt.nocache jL7r1pu5  
      Whether or not XSLT templates should not be cached ?Dl;DE1  
      是否XSLT模版应该被缓存 4?fpk9c{2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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