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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 '.on)Zd.  
J1,9kCO  
struts.action.extension 1a?!@g )  
      The URL extension to use to determine if the request is meant for a Struts action x.]i }mt  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3DzMB?I  
N@2dA*T,  
struts.configuration ,kiv>{  
      The org.apache.struts2.config.Configuration implementation class y`VyQWW  
        org.apache.struts2.config.Configuration接口名 WYHQ?  
3-[q4R  
struts.configuration.files lNz7u:U3  
      A list of configuration files automatically loaded by Struts rV2WnAb[H&  
      struts自动加载的一个配置文件列表 v| gw9  
Hkk/xNP  
struts.configuration.xml.reload -f3p U:G8  
      Whether to reload the XML configuration or not .I7pA5V{#  
      是否加载xml配置(true,false) 6g2a[6G5  
S'k_olx7  
struts.continuations.package %>yG+Od5Z  
      The package containing actions that use Rife continuations B\=L3eL<D  
      含有actions的完整连续的package名称 ~Y`ldL  
t#V!8EpBg  
struts.custom.i18n.resources 6 hw=  
      Location of additional localization properties files to load |ax3sAg  
      加载附加的国际化属性文件(不包含.properties后缀) U\ ig:  
V_R@o3kv;  
struts.custom.properties >W%EmnLK  
      Location of additional configuration properties files to load v:f}XK<  
      加载附加的配置文件的位置 - \ 5v^l  
Z 8S\@I  
wVX[)E\J  
struts.devMode 9eGyyZg  
      Whether Struts is in development mode or not 4qO+_!x{)  
      是否为struts开发模式 cm&nd'A't  
DH[p\Wy'  
struts.dispatcher.parametersWorkaround ,KF 'TsFf  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic sr r :!5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7TgOK   
wu7Lk3  
struts.enable.DynamicMethodInvocation 1Lc#m`Jln  
      Allows one to disable dynamic method invocation from the URL AV:h BoO  
        允许动态方法调用 O_2pIbh  
}QN1|mP2  
struts.freemarker.manager.classname NvD7Krqwa  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Ye\rB\-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _ q(ko/T  
!-z'2B*:^  
struts.i18n.encoding 1A?W:'N  
      The encoding to use for localization messages !Xh=k36  
      国际化信息内码 3]OE}[R  
g%ndvdb m  
struts.i18n.reload qt"G[9;  
      Whether the localization messages should automatically be reloaded y_'Ub{w  
      是否国际化信息自动加载 j5QuAU8  
ED2a}Tt>Z  
struts.locale cW~}:;D4  
      The default locale for the Struts application bh s5x  
      默认的国际化地区信息 %r<rcY  
d:_t-ZZo  
struts.mapper.class /vY(o1o x  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _- [''(E  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %"kPvI3Y  
%G3h?3  
struts.multipart.maxSize +s"hqm  
      The maximize size of a multipart request (file upload) jk"`Z<j~  
      multipart请求信息的最大尺寸(文件上传用) <>n0arAn  
XpIklL7  
struts.multipart.parser &X`C%h  
      The org.apache.struts2.dispatcher.multipart. A|CmlAW~^  
      MultiPartRequest parser implementation for a multipart request (file upload) Yw22z #K  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $Ad{Z  
?# Mr  
\n"{qfn`r  
struts.multipart.saveDir j>*S5y.{  
      The directory to use for storing uploaded files b}OY4~ Y4  
      设置存储上传文件的目录夹 hv)x=e<  
}elc `jj  
struts.objectFactory CWf / H)~  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;5wn67'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) q?,).x nN  
#c!*</  
struts.objectFactory.spring.autoWire >lmi@UN|k  
      Whether Spring should autoWire or not $[9%QQk5<L  
      是否自动绑定Spring n+! AnKq  
1;d$#j  
struts.objectFactory.spring.useClassCache JHW "-b  
      Whether Spring should use its class cache or not LZ\q3 7UV  
      是否spring应该使用自身的cache tN[L@t9#cr  
ylUrLQ\  
struts.objectTypeDeterminer .v]IJfRH*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "MxnFeLM#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &d9{k5/+\  
x9NEFtqjm  
struts.serve.static.browserCache  |$+3a  
If static content served by the Struts filter should set browser caching header properties or not 9Q -HeXvR  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 h~A/y!s  
{ .n"Z  
struts.serve.static jy7\+i  
      Whether the Struts filter should serve static content or not i}b${n o  
      是否struts过滤器应该提供静态内容 r~[Ia!U?  
-Bt k 3  
struts.tag.altSyntax 7;u e  
      Whether to use the alterative syntax for the tags or not |VKK#J/  
      是否可以用替代的语法替代tags "lQ*1.i  
l_3`G-`2  
struts.ui.templateDir @<<<C?CTv  
      The directory containing UI templates M])ZK  
      UI templates的目录夹 .=U#eHBdAQ  
OL5v).Bb  
struts.ui.theme 6~OoFm5  
      The default UI template theme D>|H 2  
      默认的UI template主题 du+y5dw  
yZd +^QN  
struts.url.http.port +_s #2  
      The HTTP port used by Struts URLs .R`5 Qds*l  
      设置http端口 <DpevoF  
8][nmjk0  
struts.url.https.port c~6>1w7SZ4  
      The HTTPS port used by Struts URLs mCRt8 rY;  
      设置https端口 ;g8R4!J  
fz;iOjr>  
struts.url.includeParams 2Fy>.*,?  
      The default includeParams method to generate Struts URLs %el"BSB  
      在url中产生 默认的includeParams "BD~xP(  
832v"k CD  
AUeu1(  
struts.velocity.configfile ;V@WtZv  
      The Velocity configuration file path KgV3j]d  
      velocity配置文件路径 u,F nAh?"  
 0,r}o  
struts.velocity.contexts g"Ljm7  
      List of Velocity context names DvME 1]7)  
      velocity的context列表 2<li7c59  
k $M]3}$U  
Yv hA_v  
struts.velocity.manager.classname INUG*JC6  
      org.apache.struts2.views.velocity.VelocityManager implementation class [N1hWcfvd  
      org.apache.struts2.views.velocity.VelocityManager接口名 aHlcfh9|  
nJbtS#`G4  
struts.velocity.toolboxlocation |]QqXE-7  
      The location of the Velocity toolbox yphS'AG  
      velocity工具盒的位置 n 9\ C2r  
struts.xslt.nocache t c[n&X  
      Whether or not XSLT templates should not be cached Z 1zVwHa_  
      是否XSLT模版应该被缓存 `J]fcE%T0R  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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