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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;n;bap  
FR? \H"'x  
struts.action.extension 3.<E{E!F  
      The URL extension to use to determine if the request is meant for a Struts action ctu`FQ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [W*Q~Wvp  
f,'9Bj. ~  
struts.configuration 1_6oM/?'  
      The org.apache.struts2.config.Configuration implementation class KVZ-T1K  
        org.apache.struts2.config.Configuration接口名 ?Y\hC0a60  
-5sKJt]+i  
struts.configuration.files .%T.sQ  
      A list of configuration files automatically loaded by Struts S_dM{.!Z(,  
      struts自动加载的一个配置文件列表 M5T4{^i  
Mib<1ZM  
struts.configuration.xml.reload {~+o+LV  
      Whether to reload the XML configuration or not OVa38Aucr3  
      是否加载xml配置(true,false) ZBl!7_[_  
pkT26)aW  
struts.continuations.package U@<]>.$  
      The package containing actions that use Rife continuations U6yZKK  
      含有actions的完整连续的package名称 ud:5_*  
VDy\2-b8d  
struts.custom.i18n.resources 'fr~1pmx#3  
      Location of additional localization properties files to load Eu1t*>ZL  
      加载附加的国际化属性文件(不包含.properties后缀) <X ~P62<  
\O(~:KN  
struts.custom.properties k{-#2Qz  
      Location of additional configuration properties files to load QeNN*@ ='i  
      加载附加的配置文件的位置 k*uLjU  
#/LU@+  
+/4wioGm  
struts.devMode 9@yi UX  
      Whether Struts is in development mode or not .p$tb2%r  
      是否为struts开发模式 {bD:OF  
6Us*zKgW  
struts.dispatcher.parametersWorkaround U3b&/z|b?  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }?^5L7n  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +X|^ ~)tMJ  
:DoE_  
struts.enable.DynamicMethodInvocation w-wap  
      Allows one to disable dynamic method invocation from the URL o%sx(g=q6  
        允许动态方法调用 'jj|bN  
xmNs<mz  
struts.freemarker.manager.classname e]q(fPK  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8m"jd+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 '4]_~?&x  
HGl.dO 7NU  
struts.i18n.encoding =@y ?Np^A  
      The encoding to use for localization messages ~zph,bk  
      国际化信息内码 o GN*p_g  
m*H' Cb  
struts.i18n.reload l7vxTj@(-  
      Whether the localization messages should automatically be reloaded tiQeON-Q_  
      是否国际化信息自动加载 QP:|D_k  
W}aCU~  
struts.locale "`Mowp*  
      The default locale for the Struts application qEajT"?  
      默认的国际化地区信息 ~x6<A\  
"#G`F  
struts.mapper.class g=L80$1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (,OF<<OH  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^g N/5  
$i]G'fj  
struts.multipart.maxSize AtYqD<hl:  
      The maximize size of a multipart request (file upload) Vh'H =J  
      multipart请求信息的最大尺寸(文件上传用) SBh"^q  
L5 Q^cY]p  
struts.multipart.parser jHQnD]Hr  
      The org.apache.struts2.dispatcher.multipart. j`:D BO&)\  
      MultiPartRequest parser implementation for a multipart request (file upload) DuI>z?bS  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  /wT<p  
y ]D[JX[  
U\GuCw  
struts.multipart.saveDir 6'45c1e   
      The directory to use for storing uploaded files WO!'("  
      设置存储上传文件的目录夹 pxb4x#CC  
8KMo!p\i  
struts.objectFactory r<c&;*  
      The com.opensymphony.xwork2.ObjectFactory implementation class  KGJ *h  
      com.opensymphony.xwork2.ObjectFactory接口(spring) _:7:ixN[Ie  
fprP$MbI  
struts.objectFactory.spring.autoWire ae0t *;~  
      Whether Spring should autoWire or not H7dT6`<~Y  
      是否自动绑定Spring k keDt+^  
UAe8Ct=YJ  
struts.objectFactory.spring.useClassCache e6gLYhf&  
      Whether Spring should use its class cache or not OWT|F0.1$k  
      是否spring应该使用自身的cache P "%f8C~r  
w9TE E,t;5  
struts.objectTypeDeterminer Znd ,FqHk  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class L%;[tu(*  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;LqpX!Pi f  
mnL+@mm  
struts.serve.static.browserCache s`gfz}/  
If static content served by the Struts filter should set browser caching header properties or not <rxtdI"3  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $Ts;o  
i|[**P  
struts.serve.static 6_g:2=6S  
      Whether the Struts filter should serve static content or not X.+|o@G  
      是否struts过滤器应该提供静态内容 5 BLAa1  
\>[k0<  
struts.tag.altSyntax b} FhC"'i  
      Whether to use the alterative syntax for the tags or not %ty`Oa2  
      是否可以用替代的语法替代tags M@+Pq/f:  
mI'&!@WG  
struts.ui.templateDir .t7ME{  
      The directory containing UI templates s w{e |  
      UI templates的目录夹 ?&?5x%|.<  
qs!A)H#  
struts.ui.theme i2+_~$f  
      The default UI template theme *Gul|Lp$<I  
      默认的UI template主题 ]-;MY@  
lokKjs  
struts.url.http.port b3Q k;yz  
      The HTTP port used by Struts URLs A DVUx}  
      设置http端口  ZvwU  
*vzEfmN:d  
struts.url.https.port }0,dG4Oo=  
      The HTTPS port used by Struts URLs IG&twJR  
      设置https端口 uHq;z{ 2GI  
"!ks7:}v  
struts.url.includeParams foUB/&Ee  
      The default includeParams method to generate Struts URLs 0< 93i   
      在url中产生 默认的includeParams CaC \\5wl  
$,zW0</P*l  
V1haAP[#  
struts.velocity.configfile ow{J;vFy\  
      The Velocity configuration file path c9x&:U  
      velocity配置文件路径 'xLXj>  
RsYMw3)G  
struts.velocity.contexts S)?N6sz%  
      List of Velocity context names BbiyyRa  
      velocity的context列表 Z/czAr@4  
7=/iFv[  
u\;d^A  
struts.velocity.manager.classname b]  
      org.apache.struts2.views.velocity.VelocityManager implementation class C_Z/7x*>d  
      org.apache.struts2.views.velocity.VelocityManager接口名 0O[le*3b  
YSrjg|k*  
struts.velocity.toolboxlocation Q5lt[2Zyzd  
      The location of the Velocity toolbox ;Yt+ {pI  
      velocity工具盒的位置 %JgdLnQE  
struts.xslt.nocache Z~F*$jn  
      Whether or not XSLT templates should not be cached H: S<O%f  
      是否XSLT模版应该被缓存 ] n\]ao  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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