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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %p X6QRt?  
Y'e eA 2O  
struts.action.extension \p%3vRwS%p  
      The URL extension to use to determine if the request is meant for a Struts action sZ?mP;Q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @,XSs  
2 1PFR:lP7  
struts.configuration ![f ![l  
      The org.apache.struts2.config.Configuration implementation class /t-fjB{=G  
        org.apache.struts2.config.Configuration接口名 @ |'5 n  
wW>)(&!F  
struts.configuration.files w\}?(uO  
      A list of configuration files automatically loaded by Struts >[6{LAe~hp  
      struts自动加载的一个配置文件列表 a6kV!,.U  
<'G~8tA%v  
struts.configuration.xml.reload Xv@SxS-5l  
      Whether to reload the XML configuration or not L4L2O7  
      是否加载xml配置(true,false) r]ShZBAbYp  
U.{l;EL:T  
struts.continuations.package 6ksAc%|5  
      The package containing actions that use Rife continuations I}2P>)K  
      含有actions的完整连续的package名称 )!tK[K?5  
=vT<EW}[  
struts.custom.i18n.resources F]O$(7*  
      Location of additional localization properties files to load Su 5>$  
      加载附加的国际化属性文件(不包含.properties后缀) Pl-5ncb\  
?uMQP NYs  
struts.custom.properties {D g_?._d  
      Location of additional configuration properties files to load HHjt/gc}`  
      加载附加的配置文件的位置 l1]p'Liuu  
 s}onsC  
dJ?XPo"Cm=  
struts.devMode y< C<_2  
      Whether Struts is in development mode or not cQ:"-!ff  
      是否为struts开发模式 7H>@iI"?  
n[YEOkiG  
struts.dispatcher.parametersWorkaround ;+1RU v  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic XhsTT2B   
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~ 8aJ S,u  
K gN)JD>  
struts.enable.DynamicMethodInvocation ps$7bN C  
      Allows one to disable dynamic method invocation from the URL WL+]4Wiz  
        允许动态方法调用 L#)(H^[  
w-@6|o,S  
struts.freemarker.manager.classname sE{pzPq!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >R/$1e1Y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 g,:j/vR  
_Jv 9F8v  
struts.i18n.encoding &Z?ut *%S  
      The encoding to use for localization messages 6oSQQhge  
      国际化信息内码 ASPy  
h d~$WV0#  
struts.i18n.reload U:F/ iXz  
      Whether the localization messages should automatically be reloaded >yJ9U,Y  
      是否国际化信息自动加载 dz>;<&2Z  
a}SdW  
struts.locale .WQ<jZt>  
      The default locale for the Struts application ,<DB&&EV8  
      默认的国际化地区信息 (z$r:p  
!A1)|/ a@  
struts.mapper.class 6dAEM;$_Z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class - y9>;6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 n}xhW'3hU=  
$;G{Pyp  
struts.multipart.maxSize /=uMk]h  
      The maximize size of a multipart request (file upload) Vx_rc%'  
      multipart请求信息的最大尺寸(文件上传用) fFjH "2WD  
 ;v  
struts.multipart.parser ;@h0qRXW:h  
      The org.apache.struts2.dispatcher.multipart. '&;yT[  
      MultiPartRequest parser implementation for a multipart request (file upload) W0jZOP5_.$  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) fri0XxF  
v}^5Rp&m  
22(*J<  
struts.multipart.saveDir BK,sc'b  
      The directory to use for storing uploaded files x_|F|9  
      设置存储上传文件的目录夹 ":3 VJ(eY  
r3rxC&  
struts.objectFactory drwgjLC+  
      The com.opensymphony.xwork2.ObjectFactory implementation class 3\;27&~gV  
      com.opensymphony.xwork2.ObjectFactory接口(spring) x{ }z ;yG  
v6\F Q9|t  
struts.objectFactory.spring.autoWire 9dh >l!2  
      Whether Spring should autoWire or not (J"T]-[  
      是否自动绑定Spring FI8Oz,  
A$g+K,.l  
struts.objectFactory.spring.useClassCache [~D|peM3  
      Whether Spring should use its class cache or not :`) ~-`_  
      是否spring应该使用自身的cache M\b")Tu{0  
PN+G:Qv  
struts.objectTypeDeterminer z=&z_}M8  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \RQ='/H*  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 e$c?}3E!z  
(SVWdgb  
struts.serve.static.browserCache )x#5Il H  
If static content served by the Struts filter should set browser caching header properties or not ]<DNo&fw  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Pag63njg?  
a'\By?V]  
struts.serve.static !2:3MbtR  
      Whether the Struts filter should serve static content or not iAMtejw  
      是否struts过滤器应该提供静态内容 =rPrPb  
t)oapIeIe  
struts.tag.altSyntax 6pE :A@  
      Whether to use the alterative syntax for the tags or not h  x6;YV  
      是否可以用替代的语法替代tags !S%6Uzsj  
&p<(_|Af  
struts.ui.templateDir :PbDU$x  
      The directory containing UI templates Vv$HR  
      UI templates的目录夹 PZ8U6K'  
nRhrWS  
struts.ui.theme q ^rl)  
      The default UI template theme *5$&`&,  
      默认的UI template主题 AgF5-tz6x  
o-7>eE}+  
struts.url.http.port !\[+99F#  
      The HTTP port used by Struts URLs ~`Qko-a&  
      设置http端口 bt+,0\Vg5  
_ nT{g  
struts.url.https.port uQLlA&I"  
      The HTTPS port used by Struts URLs Y^"4?96  
      设置https端口 m8+(%>+7  
*5%*|>  
struts.url.includeParams D}Ilyk_uUw  
      The default includeParams method to generate Struts URLs [-*F"}D,  
      在url中产生 默认的includeParams ~#:e*:ro  
AV&yoag1  
jn9 ShF  
struts.velocity.configfile ZA#y)z8!E  
      The Velocity configuration file path wN37zPnV~  
      velocity配置文件路径 5TBI<K  
:&'{mJW*{t  
struts.velocity.contexts u"$a>S_  
      List of Velocity context names J3S&3+2G  
      velocity的context列表 r0m)j  
T#:F]=  
vd#,DU=p!  
struts.velocity.manager.classname LU!1s@  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?3sT" r_d@  
      org.apache.struts2.views.velocity.VelocityManager接口名 MWuXI1  
d_}a`H  
struts.velocity.toolboxlocation HW=xvA+  
      The location of the Velocity toolbox Oi:JiD=  
      velocity工具盒的位置 cTZ)"^z!  
struts.xslt.nocache 9CUimZ  
      Whether or not XSLT templates should not be cached #:3r4J%+~  
      是否XSLT模版应该被缓存 4lc)&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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