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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 TR([u  
;N/=)m  
struts.action.extension ~RS^O poa  
      The URL extension to use to determine if the request is meant for a Struts action qf qp}g\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Y =BXV7\  
af WEt -  
struts.configuration oL 69w1  
      The org.apache.struts2.config.Configuration implementation class bAl0z)p  
        org.apache.struts2.config.Configuration接口名  GP/G v  
;zl/  
struts.configuration.files av*M #  
      A list of configuration files automatically loaded by Struts gc6T`O-_;  
      struts自动加载的一个配置文件列表 0XNj! ^&  
T2$V5RyX  
struts.configuration.xml.reload .Iret :  
      Whether to reload the XML configuration or not !agtgS$qII  
      是否加载xml配置(true,false) /\B[lRn  
Q, !b  
struts.continuations.package >5|;8v-r  
      The package containing actions that use Rife continuations x# &ZGFr~  
      含有actions的完整连续的package名称 At#'q>Dn  
V^^nJs tV  
struts.custom.i18n.resources `Wf)qMb  
      Location of additional localization properties files to load Nu%JI6&R  
      加载附加的国际化属性文件(不包含.properties后缀) |UO&18Y7-  
7:_\t!]  
struts.custom.properties |NiW r1&i0  
      Location of additional configuration properties files to load G?OwhX  
      加载附加的配置文件的位置 9u\&kQxqD  
BkTGH.4G%  
D|Tv`47ntu  
struts.devMode !"Q8KV  
      Whether Struts is in development mode or not vj:hMPC ZM  
      是否为struts开发模式 g}hR q%  
L'JEkji"  
struts.dispatcher.parametersWorkaround 7v~\c%1V  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F ;m1I+;  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Jc#()4  
%Jr6pmc  
struts.enable.DynamicMethodInvocation = +uUWJ&1G  
      Allows one to disable dynamic method invocation from the URL ?+bDFM}  
        允许动态方法调用 [-bT_X  
vG<JOxP  
struts.freemarker.manager.classname >iCkvQ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Qs*6wF  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 M!s@w%0?'  
\q8D7/q  
struts.i18n.encoding =lf&mD _/  
      The encoding to use for localization messages >Tm|}\qEb  
      国际化信息内码 zJfoU*G/B  
_S(]/d(c  
struts.i18n.reload Q(}TN,N  
      Whether the localization messages should automatically be reloaded ~!,Q<?  
      是否国际化信息自动加载 <p'~$vK  
9%?'[jJ  
struts.locale h69: Tj!  
      The default locale for the Struts application \c! LC4pE  
      默认的国际化地区信息 @lau?@$ja  
\sIRV}Tk}N  
struts.mapper.class Cz\(.MWNZ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $UZ4,S?V  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 35;)O -  
gJVakR&  
struts.multipart.maxSize T1y,L<7?  
      The maximize size of a multipart request (file upload) J]f\=;z;<a  
      multipart请求信息的最大尺寸(文件上传用) at/v.U |F  
"=unDpq]  
struts.multipart.parser I54O9Aoy  
      The org.apache.struts2.dispatcher.multipart. FRicHs n  
      MultiPartRequest parser implementation for a multipart request (file upload) fWR]L47n  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U=C8gVb{Hq  
"Q~6cH[#  
|f^/((:D  
struts.multipart.saveDir 27vLI~  
      The directory to use for storing uploaded files 3mIX9&/  
      设置存储上传文件的目录夹 {.N" 6P  
#lax0IYY=  
struts.objectFactory #zcp!WE.OI  
      The com.opensymphony.xwork2.ObjectFactory implementation class <%JRZYZ  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]]s_ 8u 3  
sX3Vr&r  
struts.objectFactory.spring.autoWire j~G^J  
      Whether Spring should autoWire or not vO1P%)  
      是否自动绑定Spring bp6 La`+  
$a6&OH/  
struts.objectFactory.spring.useClassCache vpY|S2w)Bp  
      Whether Spring should use its class cache or not :\*hAV1i  
      是否spring应该使用自身的cache -#b-@sD  
-;z&">  
struts.objectTypeDeterminer Q^v8n1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *n0k2 p  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3:a}<^DuCS  
 ]D7z&h  
struts.serve.static.browserCache S{Au%Rs  
If static content served by the Struts filter should set browser caching header properties or not xXK7i\ny  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [Bp[=\  
5FHpJlFK,  
struts.serve.static g S;p::  
      Whether the Struts filter should serve static content or not [?BmW {*u.  
      是否struts过滤器应该提供静态内容 *g5df[  
b9(d@2MtK  
struts.tag.altSyntax Y#c11q Z  
      Whether to use the alterative syntax for the tags or not E~zLhJTUL'  
      是否可以用替代的语法替代tags IPcAE!h6zN  
k 6~k  
struts.ui.templateDir :&`Yz   
      The directory containing UI templates c3|;'s  
      UI templates的目录夹 ^Y xqJy  
?Z] }G  
struts.ui.theme \1RQ),5 %]  
      The default UI template theme cW),Y|8  
      默认的UI template主题  !+IxPn  
U<eVLfSij  
struts.url.http.port Y[;Pl$  
      The HTTP port used by Struts URLs )%C482GO-  
      设置http端口 pM\)f  
B4&@PX"'>,  
struts.url.https.port r{kV*^\E  
      The HTTPS port used by Struts URLs tqrvcnQr^  
      设置https端口 T}P| uP  
,u( g#T  
struts.url.includeParams N7Z&_$Bx  
      The default includeParams method to generate Struts URLs [*?P2.bf  
      在url中产生 默认的includeParams @l&5 |Cia  
6.~(oepu  
P]+^^ U  
struts.velocity.configfile Tp<=dH%$%"  
      The Velocity configuration file path ]k{cPK  
      velocity配置文件路径 ls,gQ]B:P  
")HTUlcAe}  
struts.velocity.contexts sEdWBT 8  
      List of Velocity context names l~&efAJ-$  
      velocity的context列表 `R8~H7{I6  
~MO'%'@  
9XS+W w7  
struts.velocity.manager.classname /k1&?e  
      org.apache.struts2.views.velocity.VelocityManager implementation class -MHu BgYJ-  
      org.apache.struts2.views.velocity.VelocityManager接口名 gSu+]N  
Np|i Xwl1  
struts.velocity.toolboxlocation e\.|d<N?  
      The location of the Velocity toolbox s Xl7  
      velocity工具盒的位置 8pDJz_F!{  
struts.xslt.nocache .Rc&EO  
      Whether or not XSLT templates should not be cached [O [ N_z  
      是否XSLT模版应该被缓存 d[rxmEXht  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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