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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 kYjGj,m"  
CL+}| 7O(  
struts.action.extension 8]U{;|';  
      The URL extension to use to determine if the request is meant for a Struts action D>LZP!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ])nPPf  
28UU60  
struts.configuration l\@)y4 +  
      The org.apache.struts2.config.Configuration implementation class iT%} $Lu~  
        org.apache.struts2.config.Configuration接口名 {qN 5MsY  
~4 `5tb  
struts.configuration.files =fO5cA6Z  
      A list of configuration files automatically loaded by Struts SN1}xR$  
      struts自动加载的一个配置文件列表 #6CC3TJ'k  
(aH'h1,G  
struts.configuration.xml.reload 1*@'-mj  
      Whether to reload the XML configuration or not /K. !sQ$  
      是否加载xml配置(true,false) D F*:_B )  
b)e *$)  
struts.continuations.package j4cwI90=  
      The package containing actions that use Rife continuations `wDl<[V  
      含有actions的完整连续的package名称 1f":HnLRM  
*q-['"f  
struts.custom.i18n.resources F;7dt@5;  
      Location of additional localization properties files to load N _86t  
      加载附加的国际化属性文件(不包含.properties后缀) V;,{}  
a-|*?{o  
struts.custom.properties CnG+Mc^  
      Location of additional configuration properties files to load O vk_\On  
      加载附加的配置文件的位置 =5(>q5Z*  
c'S,hCe*  
RT.D"WvT  
struts.devMode 7~5ym15*  
      Whether Struts is in development mode or not jAm3HI   
      是否为struts开发模式 \cUC9/ b  
@ CZ T  
struts.dispatcher.parametersWorkaround 3%(N[&LU  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $Z\.-QE\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) fR*q?,  
z$?~Y(EY  
struts.enable.DynamicMethodInvocation /Z@tv .f  
      Allows one to disable dynamic method invocation from the URL /XzH?n/{R  
        允许动态方法调用 |4uWh  
-6n K<e`  
struts.freemarker.manager.classname >o7n+Rb:  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4Dw@r{  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 98uV6b~g  
aD=A^ktx  
struts.i18n.encoding :[hgxJu+  
      The encoding to use for localization messages ;3B1_vo9  
      国际化信息内码 ! 3 f?:M  
L>SjllY  
struts.i18n.reload z6w3"9Um  
      Whether the localization messages should automatically be reloaded 2&^]k`Aj6D  
      是否国际化信息自动加载 'VlDh`<W  
:"xzj<(  
struts.locale Cif>7]M  
      The default locale for the Struts application #w\~&0  
      默认的国际化地区信息 O4^8jK}  
+KvU$9Ad>  
struts.mapper.class LRb{hUt=  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class dVi!Q@y+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 S/ODq L|  
JSTuXW  
struts.multipart.maxSize 9/ibWa\.  
      The maximize size of a multipart request (file upload) |>tKq;/  
      multipart请求信息的最大尺寸(文件上传用) X@LRsg  
SVB\  
struts.multipart.parser EioB%f3  
      The org.apache.struts2.dispatcher.multipart. Vc2A  
      MultiPartRequest parser implementation for a multipart request (file upload) d [V;&U  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) WqXbI4;pJ  
~XWQhIAM4  
Bhp-jq'!B  
struts.multipart.saveDir Htgx`N|  
      The directory to use for storing uploaded files '{ V0M<O  
      设置存储上传文件的目录夹 1][S#H/?  
D IzH`|Y  
struts.objectFactory Y<Fz)dQo  
      The com.opensymphony.xwork2.ObjectFactory implementation class }Hxd*S  
      com.opensymphony.xwork2.ObjectFactory接口(spring) <\}KT*Xp  
% <q w  
struts.objectFactory.spring.autoWire +L9Eqll  
      Whether Spring should autoWire or not Gq }U|Z  
      是否自动绑定Spring  s8rE$  
HFaj-~b  
struts.objectFactory.spring.useClassCache <F=xtyl7  
      Whether Spring should use its class cache or not 4*cU<  
      是否spring应该使用自身的cache Ou1JIxZ)|  
bj"J'  
struts.objectTypeDeterminer d BJJZ^(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |]ZYa.+:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 < !dqTJos  
iMP]W _  
struts.serve.static.browserCache ktdW`R\+  
If static content served by the Struts filter should set browser caching header properties or not )_i qAqkS  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 371 TvZ4  
L>a  
struts.serve.static /(BMG/Tb  
      Whether the Struts filter should serve static content or not o17ekML  
      是否struts过滤器应该提供静态内容 rjPL+T_  
vc+ARgvH+  
struts.tag.altSyntax [.S#rGYk  
      Whether to use the alterative syntax for the tags or not '_/Bp4i  
      是否可以用替代的语法替代tags K?zH35f$  
OI0;BBZ  
struts.ui.templateDir  $W9{P;  
      The directory containing UI templates Gmq/3tw  
      UI templates的目录夹 HsHB!mQV  
NZ-\h  
struts.ui.theme Y>EzTV  
      The default UI template theme |<.lW  
      默认的UI template主题 ZOQTINf  
QZ:8+[oy  
struts.url.http.port <B6&I$Wc+  
      The HTTP port used by Struts URLs f/Hm{<BY  
      设置http端口 )p~BQ~eip;  
q&/Yg,p\  
struts.url.https.port N%"Y  
      The HTTPS port used by Struts URLs 0VGPEKRh  
      设置https端口 `^FGwx@  
R@6zGZ1  
struts.url.includeParams (''M{n  
      The default includeParams method to generate Struts URLs `9uB~LY^i  
      在url中产生 默认的includeParams UF<uU-C"  
L?Qg#YSd ~  
5c^Z/ Jl$c  
struts.velocity.configfile %_{tzXim  
      The Velocity configuration file path QzzW x2  
      velocity配置文件路径 %QKRFPYhS  
7_mw%|m6@  
struts.velocity.contexts ,Td!|~I|j6  
      List of Velocity context names sM?MLB\Za  
      velocity的context列表 M5*{  
;M_o)OS3  
MwR 0@S}*  
struts.velocity.manager.classname j^;I3_P  
      org.apache.struts2.views.velocity.VelocityManager implementation class KA){''>8  
      org.apache.struts2.views.velocity.VelocityManager接口名 z-LB^kc8oQ  
_jNj-)RB_  
struts.velocity.toolboxlocation >9q&PEc  
      The location of the Velocity toolbox P  '>SmQ  
      velocity工具盒的位置 E 2"q3_,,  
struts.xslt.nocache sm\f0P!rv  
      Whether or not XSLT templates should not be cached <oWB0%  
      是否XSLT模版应该被缓存 Tjl:|F8  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五