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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =3L;Z[^9  
<yd{tD$A*  
struts.action.extension ZpnxecJUJ  
      The URL extension to use to determine if the request is meant for a Struts action Za 1QC;7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 9jw\s P@  
V,cBk  
struts.configuration +F^^c2E  
      The org.apache.struts2.config.Configuration implementation class \--8lH -K  
        org.apache.struts2.config.Configuration接口名 3.*8)NW  
))"6ern  
struts.configuration.files [n :<8ho  
      A list of configuration files automatically loaded by Struts }hhGu\  
      struts自动加载的一个配置文件列表 Y\No4w ^|d  
"g1)f"pL  
struts.configuration.xml.reload k7T`bYv  
      Whether to reload the XML configuration or not neLAEHV  
      是否加载xml配置(true,false) >U[j]V]  
%^ !,t:d  
struts.continuations.package JU)dr4S?  
      The package containing actions that use Rife continuations v_DedVhe  
      含有actions的完整连续的package名称 YB2VcF.LU  
JsODzw  
struts.custom.i18n.resources ^zQ/mo,Z  
      Location of additional localization properties files to load `Tv[DIVW  
      加载附加的国际化属性文件(不包含.properties后缀) a6uJYhS~  
|>dI/_'  
struts.custom.properties =w{Z@S(ukz  
      Location of additional configuration properties files to load vkri+:S3  
      加载附加的配置文件的位置 Zcx`SC-0  
_sTROd)Vh  
)8$=C#qC[  
struts.devMode ^G}47(  
      Whether Struts is in development mode or not rR(X9i  
      是否为struts开发模式 =Jyu4j *}  
iMDM1}b  
struts.dispatcher.parametersWorkaround ~kEI4}O  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic uFinv2Z '  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |R/%D%_g  
A;]}m8(*  
struts.enable.DynamicMethodInvocation 1=d6NX)B  
      Allows one to disable dynamic method invocation from the URL \D*KGd]M0  
        允许动态方法调用 62ws/8d6f  
Yp^rR }N  
struts.freemarker.manager.classname +[\FD; >  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class a6)BqlJ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 GkQpELO:  
Yfzl%wc  
struts.i18n.encoding Ju1D = b  
      The encoding to use for localization messages @~"h62=] -  
      国际化信息内码 j~[z2tV  
|}Nn!Sj>#;  
struts.i18n.reload #."-#"0  
      Whether the localization messages should automatically be reloaded CTq&-l:f  
      是否国际化信息自动加载 :&V h?  
?kbiMs1;u  
struts.locale c7x~{V8  
      The default locale for the Struts application 4R1<nZ"e~  
      默认的国际化地区信息 vunHNHltW0  
Lr~=^{  
struts.mapper.class (ROY?5 @c  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Y[}>CYO  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 #W4dkCd(pF  
H4&lb}  
struts.multipart.maxSize w"-Lc4t+  
      The maximize size of a multipart request (file upload) /<|%yE&KhJ  
      multipart请求信息的最大尺寸(文件上传用) U`,6 * MS  
"Q@ronP(~  
struts.multipart.parser -g*4(w  
      The org.apache.struts2.dispatcher.multipart. 1mOh{:1u  
      MultiPartRequest parser implementation for a multipart request (file upload) Y)*#)f  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) EyJJ0  
5B3G @KR  
\fz<.l]  
struts.multipart.saveDir A$Hfr8w1u  
      The directory to use for storing uploaded files R{<kW9!  
      设置存储上传文件的目录夹 Q ayPo]O  
rWa2pO  
struts.objectFactory <Tzrj1"Q3  
      The com.opensymphony.xwork2.ObjectFactory implementation class Jh,]r?Bd  
      com.opensymphony.xwork2.ObjectFactory接口(spring) R3gdLa.  
Ezc?#<+7  
struts.objectFactory.spring.autoWire e>+i>/Fn{h  
      Whether Spring should autoWire or not 3no%E03p  
      是否自动绑定Spring `T@i.'X  
Lt?lv2k=L  
struts.objectFactory.spring.useClassCache Y']\Jq{OS  
      Whether Spring should use its class cache or not nP$Ky1y G  
      是否spring应该使用自身的cache vlmB`T  
qouhuH_WtJ  
struts.objectTypeDeterminer Z'`<5A%;  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0l)~i' '  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,8U &?8l  
snE8 K}4  
struts.serve.static.browserCache [=6]+V83M  
If static content served by the Struts filter should set browser caching header properties or not y\4L{GlBM  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )~)J?l3 {  
*2p t%eav  
struts.serve.static Gp?a(-K5  
      Whether the Struts filter should serve static content or not [B\h$IcRv  
      是否struts过滤器应该提供静态内容 ,<(}|go   
:}'=`wa  
struts.tag.altSyntax #A1%gIw<v2  
      Whether to use the alterative syntax for the tags or not 9-&Ttbb4)0  
      是否可以用替代的语法替代tags sJL&:!}V>  
^oBtfN>4  
struts.ui.templateDir tqE6>"jD  
      The directory containing UI templates c}lb%^;)E  
      UI templates的目录夹  VA6}  
4VJ-,Z  
struts.ui.theme D=j-!{zB  
      The default UI template theme BKCA <  
      默认的UI template主题 I0D(F i  
 eI$oLl@  
struts.url.http.port _mqL8ho  
      The HTTP port used by Struts URLs )B"jF>9)[  
      设置http端口 ]sf7{lVT  
cLpYW7vZ[  
struts.url.https.port ~7*.6YnI  
      The HTTPS port used by Struts URLs 6iVxc|Ia  
      设置https端口 6M @[B|Q(  
n4;.W#\  
struts.url.includeParams }aa'\8  
      The default includeParams method to generate Struts URLs ,>bh$|  
      在url中产生 默认的includeParams SA&Rep^  
W,V:R  
c69C  
struts.velocity.configfile lk/n}bx  
      The Velocity configuration file path !#], hok8X  
      velocity配置文件路径 oR)Jznmi}  
@Q)OGjaq  
struts.velocity.contexts U6glp@s  
      List of Velocity context names kyR:[+je  
      velocity的context列表 uw>Ba %5  
g1/:Q%R,  
l%k\JY-  
struts.velocity.manager.classname 7OcW C-<  
      org.apache.struts2.views.velocity.VelocityManager implementation class `x+ B+)0X  
      org.apache.struts2.views.velocity.VelocityManager接口名 *'Sd/%8{  
n`? py  
struts.velocity.toolboxlocation !,wIQy_e4  
      The location of the Velocity toolbox o5Dk:Bw  
      velocity工具盒的位置 x[FJgI'r  
struts.xslt.nocache lHN5Dr  
      Whether or not XSLT templates should not be cached sXLq*b?  
      是否XSLT模版应该被缓存 ^bGNq X  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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