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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 O Ol:  
~D3 S01ecM  
struts.action.extension s>o#Ob@4'  
      The URL extension to use to determine if the request is meant for a Struts action )KE  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 %\ i&g$  
^O*-|ecA  
struts.configuration y@l&B+2ks  
      The org.apache.struts2.config.Configuration implementation class :pdX  
        org.apache.struts2.config.Configuration接口名 OM0r*<D"!  
aGC3&c[Wx  
struts.configuration.files rs?Dn6:;B  
      A list of configuration files automatically loaded by Struts JrOx nxd^  
      struts自动加载的一个配置文件列表 j yD3Sa3  
z.8nYL5^}  
struts.configuration.xml.reload WGn=3(4  
      Whether to reload the XML configuration or not .fJ8  
      是否加载xml配置(true,false) N-QS/*C.~  
7tlK'j'  
struts.continuations.package k5E2{&wZ  
      The package containing actions that use Rife continuations KxK,en4)+  
      含有actions的完整连续的package名称 cZ_)'0  
exJc[G&t(  
struts.custom.i18n.resources ^%,{R},s  
      Location of additional localization properties files to load YA$YT8iMe  
      加载附加的国际化属性文件(不包含.properties后缀) rb-ao\  
y#B=9Ri=z  
struts.custom.properties ,:PMS8pS  
      Location of additional configuration properties files to load @ &N  
      加载附加的配置文件的位置 A]!0Z:{h%  
9oJM?&i  
<b H *f w  
struts.devMode nC p/.]Y*  
      Whether Struts is in development mode or not k!x|oC0  
      是否为struts开发模式 $ 6mShp9(  
QUW`Yc  
struts.dispatcher.parametersWorkaround r\Y,*e  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |gI>Sp%Fu  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pFS@yHs  
Uo >aQk  
struts.enable.DynamicMethodInvocation $x'jf?zs!  
      Allows one to disable dynamic method invocation from the URL pL1ABvBB  
        允许动态方法调用 ;Va(l$zD  
Q&:)D7m\)S  
struts.freemarker.manager.classname : B&~q$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class c ^ds|7i]a  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Axsezr/  
jKmjZz8L]%  
struts.i18n.encoding D/Ki^E  
      The encoding to use for localization messages /al56n  
      国际化信息内码 ]]K?Q )9x  
x9>$197  
struts.i18n.reload |K1S(m<F  
      Whether the localization messages should automatically be reloaded a6n@   
      是否国际化信息自动加载 XiTi3vCe  
nrKAK^  
struts.locale |p[Mp:^^  
      The default locale for the Struts application &Tt7VYJfIV  
      默认的国际化地区信息 LHA^uuBN}  
ij0I!ilG4  
struts.mapper.class g@^y$wt  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0a89<yX  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "O>~osj  
bK%F_v3'  
struts.multipart.maxSize E2r5Pg  
      The maximize size of a multipart request (file upload) aInt[D(  
      multipart请求信息的最大尺寸(文件上传用) .)[E`a  
1rZ E2  
struts.multipart.parser V.:,Q  
      The org.apache.struts2.dispatcher.multipart. )!27=R/  
      MultiPartRequest parser implementation for a multipart request (file upload) 2*V%S/cck  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) LRHod1}mS  
?\,;KNQr  
"qq$i35x  
struts.multipart.saveDir !6-t_S  
      The directory to use for storing uploaded files &D M3/^70  
      设置存储上传文件的目录夹 `3\U9ZH23  
I%r7L  
struts.objectFactory Y9X,2L7V  
      The com.opensymphony.xwork2.ObjectFactory implementation class E>QS^)ih  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {mD0 ug  
Db Qp (W0  
struts.objectFactory.spring.autoWire [Ix6ArY  
      Whether Spring should autoWire or not f?. VVlD  
      是否自动绑定Spring KX~ uE6rX  
.t\J @?Z  
struts.objectFactory.spring.useClassCache L;opQ~g  
      Whether Spring should use its class cache or not J.XkdGQ  
      是否spring应该使用自身的cache ks. p)F>]  
2?%*UxcO  
struts.objectTypeDeterminer .\oW@2,RA9  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class HE+'fQ!R  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U>*@VOgB  
>bV3~m$a+  
struts.serve.static.browserCache ?<t?G  
If static content served by the Struts filter should set browser caching header properties or not v];YC6shx  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8i] S[$Fc  
(Z>?\iNJ  
struts.serve.static } 9zi5 o8  
      Whether the Struts filter should serve static content or not o=Z:0Ukl]  
      是否struts过滤器应该提供静态内容 VQ('ejv}/  
3y.+03 W  
struts.tag.altSyntax k?7"r4Vc)S  
      Whether to use the alterative syntax for the tags or not =Ya^PAj '}  
      是否可以用替代的语法替代tags 3\Xk)a_  
}Y7P2W+4?  
struts.ui.templateDir _qPKdGoM  
      The directory containing UI templates h!dij^bD  
      UI templates的目录夹 17'd~-lE  
~s&r.6 DW  
struts.ui.theme S Yi!%  
      The default UI template theme ^ulgZ2BQ|  
      默认的UI template主题 /95z1e  
MRz f#o<H  
struts.url.http.port I@m(}  
      The HTTP port used by Struts URLs G_=i#Tu[  
      设置http端口 AAfU]4u0S  
,K}"o~z  
struts.url.https.port vGsAM* vw6  
      The HTTPS port used by Struts URLs vh.8m $,  
      设置https端口 Os[z >H?  
m<j;f  
struts.url.includeParams n#"G)+h3#  
      The default includeParams method to generate Struts URLs !4cCq_  
      在url中产生 默认的includeParams Hx+r9w  
CP9Q|'oJ  
u^SInanw  
struts.velocity.configfile y$fMMAN7  
      The Velocity configuration file path W3/] 2"0  
      velocity配置文件路径 ^"<Bk<b(  
DC).p'0VL  
struts.velocity.contexts ep3VJ"^  
      List of Velocity context names 6k@F?qHS  
      velocity的context列表 ]/h$6mrL  
L=;T$4+p  
tOVTHx3E]  
struts.velocity.manager.classname ^(  
      org.apache.struts2.views.velocity.VelocityManager implementation class $'CS/U`E}  
      org.apache.struts2.views.velocity.VelocityManager接口名 r ts2Jk7f  
4j0;okQWV'  
struts.velocity.toolboxlocation 8cZ[Kl%  
      The location of the Velocity toolbox g \S6>LG!  
      velocity工具盒的位置 F\&wFA'J  
struts.xslt.nocache 56YqYu.  
      Whether or not XSLT templates should not be cached ='.b/]!_  
      是否XSLT模版应该被缓存 0 J"g"=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八