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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 2:*w~|6>}5  
VJ84?b{c W  
struts.action.extension pb^i^tA+A  
      The URL extension to use to determine if the request is meant for a Struts action m9)p-1y@5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6f;fx}y  
3yANv?$a  
struts.configuration -1Jg?cPz k  
      The org.apache.struts2.config.Configuration implementation class +O'3|M  
        org.apache.struts2.config.Configuration接口名 {Z{75}  
TH)"wNa  
struts.configuration.files hrmut*<|  
      A list of configuration files automatically loaded by Struts yhlFFbU  
      struts自动加载的一个配置文件列表 OL5v).Bb  
T} `x-  
struts.configuration.xml.reload 1pQn8[sc@  
      Whether to reload the XML configuration or not Ulhk$CPA  
      是否加载xml配置(true,false) }L &^xe  
m%rd0=}57  
struts.continuations.package \:R%4w#Jv  
      The package containing actions that use Rife continuations ,9?BcD1  
      含有actions的完整连续的package名称 k[0-CB  
(VS5V31"  
struts.custom.i18n.resources ?xK8#  
      Location of additional localization properties files to load mCRt8 rY;  
      加载附加的国际化属性文件(不包含.properties后缀) ;g8R4!J  
so^lb?g  
struts.custom.properties U!T~!C^  
      Location of additional configuration properties files to load WJ)z6m]  
      加载附加的配置文件的位置 -\+s#kE:  
~L]|?d"  
|].pDwgt  
struts.devMode \ Fl+\?~D  
      Whether Struts is in development mode or not X(!Cfb8+5  
      是否为struts开发模式 KgV3j]d  
Ok{*fa.PK  
struts.dispatcher.parametersWorkaround YZP(tn  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic QFfK0X8cC  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) & SiP\65N  
SH3|sXH<  
struts.enable.DynamicMethodInvocation 9Kr+\F  
      Allows one to disable dynamic method invocation from the URL r$5i Wu  
        允许动态方法调用 .#wqXRd  
lT4Hn;tnN  
struts.freemarker.manager.classname  rL/H2[d  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |]QqXE-7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Mc#*wEo)8  
W>!_|[a  
struts.i18n.encoding 2#o>Z4 r{  
      The encoding to use for localization messages $m7?3/YG  
      国际化信息内码 jATI&oX  
cbeLu'DWB.  
struts.i18n.reload #u2J;9P  
      Whether the localization messages should automatically be reloaded "-_fv5jL  
      是否国际化信息自动加载 p/(~IC "!J  
t'9*R7=  
struts.locale u?>B)PW  
      The default locale for the Struts application DQMHOd7g  
      默认的国际化地区信息 R,)}>X|<  
Xm+8  
struts.mapper.class 'iy*^A `Y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0$_oT;{8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 YiYV>gaf"H  
*ohL&'y  
struts.multipart.maxSize 5pU2|Bk /  
      The maximize size of a multipart request (file upload) ~i@Y|38C  
      multipart请求信息的最大尺寸(文件上传用) Zkx[[gzL  
9Kg21-?  
struts.multipart.parser GRMiQa  
      The org.apache.struts2.dispatcher.multipart. HN_d{ 3  
      MultiPartRequest parser implementation for a multipart request (file upload) Tq NadHQ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b5,x1`#7k  
J~%K_~Li  
wpN k+;  
struts.multipart.saveDir GGe,fb<k  
      The directory to use for storing uploaded files ;?W|#*=R  
      设置存储上传文件的目录夹 H1I{/g  
?aC'.jH+  
struts.objectFactory y[>;]R7'  
      The com.opensymphony.xwork2.ObjectFactory implementation class )v]/B+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ng:kA%! Q  
n$U#:aQE  
struts.objectFactory.spring.autoWire "~=mG--I  
      Whether Spring should autoWire or not IC6gU$e  
      是否自动绑定Spring 0~HKiH-  
KQcs3F@t  
struts.objectFactory.spring.useClassCache lAzj N~V  
      Whether Spring should use its class cache or not *"WDb|PBb  
      是否spring应该使用自身的cache J\J?yo 6  
@)-sTgn  
struts.objectTypeDeterminer a UxGzMZ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Kh(ZU^{n  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .U"8mP=&  
p>vn7;s2#  
struts.serve.static.browserCache I96C i2)m  
If static content served by the Struts filter should set browser caching header properties or not mK[)mC _8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Qhs/E`k4  
I6j$X6u  
struts.serve.static ]V-W~r=  
      Whether the Struts filter should serve static content or not ^F2b hXE  
      是否struts过滤器应该提供静态内容 3k|oK'l  
I<Ksi~*i  
struts.tag.altSyntax :gerQz4R8  
      Whether to use the alterative syntax for the tags or not kxp) ;  
      是否可以用替代的语法替代tags Z-8Yd6 4  
? 9! Z<H  
struts.ui.templateDir IGS1|  
      The directory containing UI templates )foq),2  
      UI templates的目录夹 hdnTXs@z  
ET_W-  
struts.ui.theme 4Y,R-+f  
      The default UI template theme _2k]3z?  
      默认的UI template主题 1^ _U;O:I  
I/M_p^  
struts.url.http.port 4 SHU  
      The HTTP port used by Struts URLs jx.[#6e  
      设置http端口 MS>t_C(  
rSxxH]-  
struts.url.https.port {g2@6ct  
      The HTTPS port used by Struts URLs ^ "i l}8`  
      设置https端口 @o#!EfZyE  
_9tK[ /h  
struts.url.includeParams RletL)  
      The default includeParams method to generate Struts URLs QYa(N[~a  
      在url中产生 默认的includeParams '; =f  
%)[+%57{  
XO-Prs  
struts.velocity.configfile 0VckocF  
      The Velocity configuration file path pWPIJ>2G:  
      velocity配置文件路径 A,V\"KU  
6An9S%:_  
struts.velocity.contexts TpmwD{c[\  
      List of Velocity context names $={:r/R`i  
      velocity的context列表 v^)bhIPe;  
+E1I");  
JT "B>y>  
struts.velocity.manager.classname AS E91T~  
      org.apache.struts2.views.velocity.VelocityManager implementation class P&j (,7  
      org.apache.struts2.views.velocity.VelocityManager接口名 )+6v  
e{X6i^% m_  
struts.velocity.toolboxlocation Dfps gY)/?  
      The location of the Velocity toolbox u5 {JQO  
      velocity工具盒的位置 89n:)|rWq  
struts.xslt.nocache 6(]tYcC  
      Whether or not XSLT templates should not be cached h G gx  
      是否XSLT模版应该被缓存 N;A@' tu8  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五