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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?`piie9V  
172G  
struts.action.extension 4w^o !  
      The URL extension to use to determine if the request is meant for a Struts action T+v*@#iJ_  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #[#evlr=  
;7lON-@BI  
struts.configuration |6*Bu1  
      The org.apache.struts2.config.Configuration implementation class tk%f_"}  
        org.apache.struts2.config.Configuration接口名 `FMo; ,j  
?8-!hU@QC  
struts.configuration.files 'q-q4 QCB  
      A list of configuration files automatically loaded by Struts z l@^[km{  
      struts自动加载的一个配置文件列表  2h   
Mj MDD  
struts.configuration.xml.reload KGy 3#r;Q  
      Whether to reload the XML configuration or not G%erh}0~  
      是否加载xml配置(true,false) ep"[; $Eb  
J:m/s9r  
struts.continuations.package JXK\mah  
      The package containing actions that use Rife continuations X&pYLm72;  
      含有actions的完整连续的package名称 N `|A  
i)o;,~ee  
struts.custom.i18n.resources EL?(D  
      Location of additional localization properties files to load 'QCIKCn<  
      加载附加的国际化属性文件(不包含.properties后缀) :5NMgR.d  
/I`TN5~  
struts.custom.properties }=^ ,c  
      Location of additional configuration properties files to load r%PWv0z_c  
      加载附加的配置文件的位置 Jj-\Eb?  
r(>S  
KNx/1 lf  
struts.devMode m^D'p  
      Whether Struts is in development mode or not DXLXGvcM  
      是否为struts开发模式 :<qe2Z5k  
*,\"}x*  
struts.dispatcher.parametersWorkaround @V%\Gspv  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic qT$k%(  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :\OSHs<M  
q-JTGCFl  
struts.enable.DynamicMethodInvocation #d-({blo<  
      Allows one to disable dynamic method invocation from the URL 1>J.kQR^  
        允许动态方法调用 H#TkIFo]  
P}@AH02  
struts.freemarker.manager.classname ~Ru\Z-q1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7ftn gBv?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 QH/py  
TpKAdrY  
struts.i18n.encoding uY& 1[(Pb  
      The encoding to use for localization messages /f3/}x!po  
      国际化信息内码 {@InOo!4w]  
KZppQ0  
struts.i18n.reload -tg|y  
      Whether the localization messages should automatically be reloaded (9]Uuvfp6"  
      是否国际化信息自动加载 "\b>JV5  
RQ,#TbAe  
struts.locale D\Ak-$kJ^  
      The default locale for the Struts application QL/KY G  
      默认的国际化地区信息 A[Mke  
#fuUAbU0X  
struts.mapper.class v"G1vSx)BT  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class y]j.PT`Cw  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 YN8x|DLi?  
Mn0.! J "  
struts.multipart.maxSize 2)f_L|o,m  
      The maximize size of a multipart request (file upload) _?c.m*)A  
      multipart请求信息的最大尺寸(文件上传用) VgH O&vU  
Z.\q$U7'9  
struts.multipart.parser ^Oz~T|)  
      The org.apache.struts2.dispatcher.multipart. 1q}L O2  
      MultiPartRequest parser implementation for a multipart request (file upload) V:n0BlZ,B  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) a"vzC$Hxd  
Lw>B:3e  
[6!k:-t+  
struts.multipart.saveDir }t)+eSUA  
      The directory to use for storing uploaded files jx}&%p X  
      设置存储上传文件的目录夹 P<]U  
.WF"vUp  
struts.objectFactory kKyU?/aj  
      The com.opensymphony.xwork2.ObjectFactory implementation class b"I#\;Ym  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 2 2v"?*  
V!Wy[u  
struts.objectFactory.spring.autoWire UleT9 [M  
      Whether Spring should autoWire or not Tv``\<   
      是否自动绑定Spring !nBbt?*  
c!Hz'W  
struts.objectFactory.spring.useClassCache Bz]tKJ  
      Whether Spring should use its class cache or not )4g_S?l=  
      是否spring应该使用自身的cache ^j<v~GT x+  
,->ihxf  
struts.objectTypeDeterminer R]"Zv'M(AM  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qed_PsI  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7 Lm9I  
:5k* kx#y  
struts.serve.static.browserCache q[$>\Nfg>B  
If static content served by the Struts filter should set browser caching header properties or not uMcI'=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |;gx;qp4cN  
EG{+Sz  
struts.serve.static n`5Nf  
      Whether the Struts filter should serve static content or not Wmbc `XC  
      是否struts过滤器应该提供静态内容 w  S  
q<09]i  
struts.tag.altSyntax SyL"Bmi  
      Whether to use the alterative syntax for the tags or not DG TLlBkT  
      是否可以用替代的语法替代tags cC*WZ]  
7P{= Pv+  
struts.ui.templateDir 6r~9$IM  
      The directory containing UI templates b^W&-Hh  
      UI templates的目录夹 IL@yGuO,  
!:+U-mb*  
struts.ui.theme ,HjJ jpE  
      The default UI template theme P y'BMk  
      默认的UI template主题 Z518J46o  
[+[ W\6  
struts.url.http.port y_WC"  
      The HTTP port used by Struts URLs Oc)n,D)0  
      设置http端口 :,8y8z$+  
g#I`P&  
struts.url.https.port ;j0.#P:a  
      The HTTPS port used by Struts URLs  Q6 *n'6  
      设置https端口 {\$S585  
>k @t.PeoV  
struts.url.includeParams ?'V78N sA  
      The default includeParams method to generate Struts URLs RRO@r}A!y  
      在url中产生 默认的includeParams >{^_]phlb  
#aqnj+  
@[^ 3y C#  
struts.velocity.configfile ( fFrX_K]  
      The Velocity configuration file path Ijh RSrCv  
      velocity配置文件路径 =-dnniKW4  
3U6QYD55]]  
struts.velocity.contexts /E6)>y66  
      List of Velocity context names lO@-*m$  
      velocity的context列表 I"]E}nd)  
2tz4Ag  
6C$+D  
struts.velocity.manager.classname gc4o |x  
      org.apache.struts2.views.velocity.VelocityManager implementation class |]kiH^Ap  
      org.apache.struts2.views.velocity.VelocityManager接口名 dz#"9i5b  
lg|6~=aQ  
struts.velocity.toolboxlocation RY5e%/bg~U  
      The location of the Velocity toolbox as:=QMV  
      velocity工具盒的位置 :lu!%p<$  
struts.xslt.nocache O!Ue0\1Kj0  
      Whether or not XSLT templates should not be cached hTBJ\1 -  
      是否XSLT模版应该被缓存 % 3#g-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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