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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %TFsk  
Fxa{ 9'99  
struts.action.extension E|9`J00  
      The URL extension to use to determine if the request is meant for a Struts action =)+^y}xb  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 gH(#<f@ZI  
uq]=L  
struts.configuration ~s&r.6 DW  
      The org.apache.struts2.config.Configuration implementation class {H,O@  
        org.apache.struts2.config.Configuration接口名 h$`m0-'  
EgG3XhfS  
struts.configuration.files !q$VnqFk  
      A list of configuration files automatically loaded by Struts +I uu8t  
      struts自动加载的一个配置文件列表 ^!^M Gzu  
uSXnf  
struts.configuration.xml.reload 0@?m"|G  
      Whether to reload the XML configuration or not OH>Gc-V  
      是否加载xml配置(true,false) 8OOAPp$%|  
Mo3%OR  
struts.continuations.package #Db^*  
      The package containing actions that use Rife continuations rEp\ld  
      含有actions的完整连续的package名称 U:~]>B $  
]/h$6mrL  
struts.custom.i18n.resources rYt|[Pk  
      Location of additional localization properties files to load *Jcd_D\-(1  
      加载附加的国际化属性文件(不包含.properties后缀) #7H0I8  
+vJ}'uR3P  
struts.custom.properties pvsY 0a@4  
      Location of additional configuration properties files to load lmcgOTT):  
      加载附加的配置文件的位置 XPrnQJ  
`&x>2FJ  
L:_{bE|TY  
struts.devMode S@pdCH, n  
      Whether Struts is in development mode or not c[,Rh f  
      是否为struts开发模式 ~ 1TT?H  
=W')jKe0  
struts.dispatcher.parametersWorkaround t|V5[n!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic j8Q_s/n  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eptw)S-j  
XC<'m{^(m  
struts.enable.DynamicMethodInvocation \'g7oV;>cI  
      Allows one to disable dynamic method invocation from the URL wG:RvgX}  
        允许动态方法调用 <z60E vHg  
Wx#l}nD  
struts.freemarker.manager.classname ? Lxc1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z~(X[Zl :  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 JO]?u(m01  
19R~&E's  
struts.i18n.encoding &to~#.qc  
      The encoding to use for localization messages U7U&^s6`  
      国际化信息内码 1h`F*:nva  
OSuQ7V  
struts.i18n.reload KgYQxEbIW  
      Whether the localization messages should automatically be reloaded 3bGU;2~}  
      是否国际化信息自动加载 }Uj-R3]}K  
CEkf0%YJ  
struts.locale _~1O#*|4  
      The default locale for the Struts application eCJtNPd  
      默认的国际化地区信息 <}&J|()  
Y[b08{/  
struts.mapper.class gZ>&cju  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class n=DmdQ}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 #(}{*d R  
FDF DB  
struts.multipart.maxSize x/]G"?Uix  
      The maximize size of a multipart request (file upload) 6E ^m*la%  
      multipart请求信息的最大尺寸(文件上传用) %t* 9sh  
JI-.SR  
struts.multipart.parser pdN8 hJ  
      The org.apache.struts2.dispatcher.multipart. zO9WqP_`iR  
      MultiPartRequest parser implementation for a multipart request (file upload) c<q33dZ!*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |R91|-H  
vfT @;`  
iX2exJto  
struts.multipart.saveDir KX\=wFbP)  
      The directory to use for storing uploaded files ErA*a3  
      设置存储上传文件的目录夹 9;*B*S~znW  
OP(om$xm  
struts.objectFactory fi'zk  
      The com.opensymphony.xwork2.ObjectFactory implementation class o6x8j z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) &sn-;r  
u9q#L.Ij  
struts.objectFactory.spring.autoWire (@ BB @G  
      Whether Spring should autoWire or not 4Af7x6a;  
      是否自动绑定Spring HYdt3GtJ?  
@~=d4Wj6  
struts.objectFactory.spring.useClassCache LkF*$  
      Whether Spring should use its class cache or not 8rBa}v9  
      是否spring应该使用自身的cache &-IkM%_A9  
NU.4_cixb  
struts.objectTypeDeterminer ,{ 0&NX  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class o@$py U8  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 P _Gu~B!Y  
/&=y_%VR  
struts.serve.static.browserCache {O=_c|u{N  
If static content served by the Struts filter should set browser caching header properties or not %Y.@AiViz  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {6)H.vpP  
6ypHH 2X  
struts.serve.static btC<>(kl&  
      Whether the Struts filter should serve static content or not uu0t}3l  
      是否struts过滤器应该提供静态内容 NeEV=+<-G  
z6qx9x|Ij  
struts.tag.altSyntax [ p0_I7  
      Whether to use the alterative syntax for the tags or not 6m(+X M S  
      是否可以用替代的语法替代tags %,8 "cM`D  
9QF,ynE  
struts.ui.templateDir s}gdi  
      The directory containing UI templates W+V &  
      UI templates的目录夹 -:!T@rV,d  
gi_f8RP=2a  
struts.ui.theme Sng3B  
      The default UI template theme /sB,)> X  
      默认的UI template主题 l,QO+ >)z  
5@bmm]  
struts.url.http.port ;;^?vS  
      The HTTP port used by Struts URLs -q-BP}r3  
      设置http端口 C?g*c  
\@NnL\ t u  
struts.url.https.port G&N),wsNZK  
      The HTTPS port used by Struts URLs zLS?: yq  
      设置https端口 1TN+pmc}@  
>Zm|R|{BE  
struts.url.includeParams vHymSU/J  
      The default includeParams method to generate Struts URLs <&1hJ)O  
      在url中产生 默认的includeParams V22Br#+  
f0{ tBD!%  
up?S (.*B  
struts.velocity.configfile FSZ :}Q  
      The Velocity configuration file path y>J6)F =  
      velocity配置文件路径 pug;1UZ  
~fpk`&nhe  
struts.velocity.contexts aHle s5   
      List of Velocity context names sPX~>8}|VP  
      velocity的context列表 ]INt9Pvqm  
2-duzc  
{4R;C~E8  
struts.velocity.manager.classname >o"0QD  
      org.apache.struts2.views.velocity.VelocityManager implementation class V8%( h[  
      org.apache.struts2.views.velocity.VelocityManager接口名 Zqg AgN@  
bwjLMWEVq  
struts.velocity.toolboxlocation t/x]vCP,2D  
      The location of the Velocity toolbox Zq/=uB7Z  
      velocity工具盒的位置 `g}en%5b\  
struts.xslt.nocache 2DBFY1[Pk  
      Whether or not XSLT templates should not be cached 5.Nc6$ N  
      是否XSLT模版应该被缓存 / Kj;%  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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