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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ||y5XXs  
r3o_mO?X  
struts.action.extension *uR&d;vg.8  
      The URL extension to use to determine if the request is meant for a Struts action kJ6=T6s  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !UE' AB  
D_GIj$%N[  
struts.configuration yD iL  
      The org.apache.struts2.config.Configuration implementation class hWK}] gF  
        org.apache.struts2.config.Configuration接口名 cq'opjLf5  
0N3 cC4!  
struts.configuration.files vjG: 1|*e  
      A list of configuration files automatically loaded by Struts Hz$l)g}U  
      struts自动加载的一个配置文件列表 \1 4"Bgj1  
!Gu,X'#Ab  
struts.configuration.xml.reload u49zc9  
      Whether to reload the XML configuration or not `fEB,0j^  
      是否加载xml配置(true,false) &x{CC@g/  
N9r}nqCN  
struts.continuations.package :+ef|,:`/  
      The package containing actions that use Rife continuations :.!]+#Me  
      含有actions的完整连续的package名称 de{KfM`W;  
3 $;6pY  
struts.custom.i18n.resources dzZ74FE!t  
      Location of additional localization properties files to load BM*9d%m^  
      加载附加的国际化属性文件(不包含.properties后缀) i<|5~tm  
@psyO]D=j%  
struts.custom.properties }7CMXw [  
      Location of additional configuration properties files to load .op: 2y9]  
      加载附加的配置文件的位置 0bxB@(NO  
3X$)cZQ  
ko2Kz k  
struts.devMode Ghgx8 ]e  
      Whether Struts is in development mode or not gnmKh>0@6o  
      是否为struts开发模式 J=4R" _yo  
Efi@hdEV  
struts.dispatcher.parametersWorkaround Y|J\,7CM  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |pJ)w  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &| %<=\  
.lfKS!m2  
struts.enable.DynamicMethodInvocation ud K)F$7  
      Allows one to disable dynamic method invocation from the URL IM&2SSmYNH  
        允许动态方法调用 3vPb}  
bs!N~,6h  
struts.freemarker.manager.classname SU;PmG4  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <v;;:RB6c  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #%k!`?^fbK  
*6~ODiB  
struts.i18n.encoding $X_JUzb  
      The encoding to use for localization messages @-bX[}.  
      国际化信息内码 _^Lv8a3(O  
C.V")D=  
struts.i18n.reload [-!   
      Whether the localization messages should automatically be reloaded >*H>'O4  
      是否国际化信息自动加载 &~U!X~PpB  
LtKiJ.j?A  
struts.locale m "\jEfjO  
      The default locale for the Struts application > 4ex:Z  
      默认的国际化地区信息 b7g\wnV8z  
yfeX=h  
struts.mapper.class DGr{x}Kq  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \B"5 Kp<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Z<ozANbk  
6V\YYrUz  
struts.multipart.maxSize S(](C  
      The maximize size of a multipart request (file upload) $5y%\A  
      multipart请求信息的最大尺寸(文件上传用) %pgie"k   
jr{C/B}  
struts.multipart.parser $$~x: iN  
      The org.apache.struts2.dispatcher.multipart. @\v,   
      MultiPartRequest parser implementation for a multipart request (file upload) /2-S/,a  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) v!?bEM3D  
n'=-bj`  
(&0%![j&  
struts.multipart.saveDir A_1cM#4  
      The directory to use for storing uploaded files mh]'/C_*<w  
      设置存储上传文件的目录夹 ?-0k3  
%)T>Wn%b]v  
struts.objectFactory ;4tVFqR  
      The com.opensymphony.xwork2.ObjectFactory implementation class +[*VU2f t  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %o9@[o .]  
`E>HpRcxD  
struts.objectFactory.spring.autoWire L<!}!v5ja  
      Whether Spring should autoWire or not ZB GLwe  
      是否自动绑定Spring Xn-GSW3{  
)ALPMmlRs  
struts.objectFactory.spring.useClassCache M>dP 1  
      Whether Spring should use its class cache or not I&]d6,  
      是否spring应该使用自身的cache |WH'aGG  
QlJ cj+_h  
struts.objectTypeDeterminer h`dtcJ0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {8UYu2t  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *"` dO9Yf_  
qLBXyQ;U  
struts.serve.static.browserCache Y~Y-L<`I  
If static content served by the Struts filter should set browser caching header properties or not 9{|JmgO!  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 G\G TS}u[  
m\`dLrPX4j  
struts.serve.static zF6 R\w  
      Whether the Struts filter should serve static content or not 1o)@{x/pd  
      是否struts过滤器应该提供静态内容 5=tvB,Ux4  
3TqC.S5+  
struts.tag.altSyntax F,Q\_H##x4  
      Whether to use the alterative syntax for the tags or not LnIln[g:  
      是否可以用替代的语法替代tags D"0:n.  
PVHJIB  
struts.ui.templateDir *LpEH,J  
      The directory containing UI templates >_P7k5Y^  
      UI templates的目录夹  S[!K  
\$Y Kw0K  
struts.ui.theme 6M9t<DQV  
      The default UI template theme =gS?atbX  
      默认的UI template主题 J#vIz  Q  
$ysemDq-a\  
struts.url.http.port `Bk7W]{L  
      The HTTP port used by Struts URLs R>SS\YC'X  
      设置http端口 )I'?]p<  
C( 8i0(1  
struts.url.https.port W[BZ/   
      The HTTPS port used by Struts URLs )=l~XV  
      设置https端口 jY%&G#4  
6nh!g  
struts.url.includeParams |niYN7 17  
      The default includeParams method to generate Struts URLs dfY(5Wc+f  
      在url中产生 默认的includeParams GL$!JKWp  
c7 Sa|9*dR  
b/'{6zn  
struts.velocity.configfile 3~Od2nk(x  
      The Velocity configuration file path uc!j`G*]  
      velocity配置文件路径 S9R(;  
`s5<PCq  
struts.velocity.contexts X.hU23w  
      List of Velocity context names H,`F%G#!`q  
      velocity的context列表 lxb+0fiN  
e5G)83[=  
yG\^PD  
struts.velocity.manager.classname )9F-h8 &"  
      org.apache.struts2.views.velocity.VelocityManager implementation class f =@'F=  
      org.apache.struts2.views.velocity.VelocityManager接口名 >)*'w!  
)QYg[<e6  
struts.velocity.toolboxlocation )[RLCZ  
      The location of the Velocity toolbox koOkm:(,  
      velocity工具盒的位置 \J[m4tw^  
struts.xslt.nocache r/zuo6"5  
      Whether or not XSLT templates should not be cached /a.4atb0  
      是否XSLT模版应该被缓存 .[&0FHnJ5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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