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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]1n =O"vE  
\!:^=2VF  
struts.action.extension -*C+z!?BP  
      The URL extension to use to determine if the request is meant for a Struts action i!EN/Bd  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 x AR9* <-  
'|l1-yD_  
struts.configuration 4P}<86xk  
      The org.apache.struts2.config.Configuration implementation class #a"gW,/K  
        org.apache.struts2.config.Configuration接口名 IG~d7rh"  
XQL]I$?  
struts.configuration.files Q68q76  
      A list of configuration files automatically loaded by Struts !XS ;&s7[*  
      struts自动加载的一个配置文件列表 go$zi5{h#  
SdBo sB3v>  
struts.configuration.xml.reload Q+'QJ7fw'|  
      Whether to reload the XML configuration or not a-7T   
      是否加载xml配置(true,false) JN-wToOF  
IHtNaN )  
struts.continuations.package c2<JS:!*  
      The package containing actions that use Rife continuations D>Dch0{H,:  
      含有actions的完整连续的package名称 1-60gI1)  
8!{F6DG  
struts.custom.i18n.resources $17utJ 58  
      Location of additional localization properties files to load J(\f(jh/  
      加载附加的国际化属性文件(不包含.properties后缀) elf2!  
F&x9.  
struts.custom.properties Y5Jrkr)k  
      Location of additional configuration properties files to load -*Z;EA-  
      加载附加的配置文件的位置 ht%:e?@i  
%JC-%TRWK  
%$L!N-U6  
struts.devMode d@-bt s&3  
      Whether Struts is in development mode or not xA>O4S D  
      是否为struts开发模式 h*9s^`9)  
H"A|Z6y$^  
struts.dispatcher.parametersWorkaround z<c@<M=Q*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ZkZTCb`/l  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 48 `k"Uy   
!B &%!06  
struts.enable.DynamicMethodInvocation B'Ll\<mq@  
      Allows one to disable dynamic method invocation from the URL + \AiUY  
        允许动态方法调用 }?jL;CCe  
@NS=  
struts.freemarker.manager.classname kG>d^K  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^ LT KX`p  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \-B8`ah  
 Lx:O Dd  
struts.i18n.encoding 4 u!)QG  
      The encoding to use for localization messages c~a:i=y67  
      国际化信息内码 !yQ#E2/A  
A\7qPfpG  
struts.i18n.reload MjW g  
      Whether the localization messages should automatically be reloaded 8QN#PaY  
      是否国际化信息自动加载 =)GhrWeVi4  
m:,S1V_jl  
struts.locale H#l uG_)  
      The default locale for the Struts application +84JvOkWi  
      默认的国际化地区信息 Hki  
& A%*sD6  
struts.mapper.class -~-BQ!!(  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ah\yw  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 A[@xTq s{{  
S0 AaJty  
struts.multipart.maxSize uIkB&  
      The maximize size of a multipart request (file upload) w{1DwCLKq  
      multipart请求信息的最大尺寸(文件上传用) MwN.Ll  
B~oc.s g  
struts.multipart.parser Lgh. 1foK  
      The org.apache.struts2.dispatcher.multipart. &nk[gb o\  
      MultiPartRequest parser implementation for a multipart request (file upload) I8C(z1(N  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9fyJw1  
,s*-2Sz  
Q$NT>d6Q  
struts.multipart.saveDir WML%yO\.;  
      The directory to use for storing uploaded files [h>RO55e  
      设置存储上传文件的目录夹 V]V~q ]  
a.r+>44M  
struts.objectFactory ~hSr06IY  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9K\A4F}  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Qb}1tn)  
n9}3>~ll  
struts.objectFactory.spring.autoWire ;-:Nw6 E  
      Whether Spring should autoWire or not 8R;)WlLu=  
      是否自动绑定Spring :qbbo~U  
Bg?f}nu7  
struts.objectFactory.spring.useClassCache > :s#MwIwm  
      Whether Spring should use its class cache or not [4u.*oL&  
      是否spring应该使用自身的cache -Q6njt&  
tw/~z2G  
struts.objectTypeDeterminer G{,X_MZ%  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class cg-\|H1  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9 -\.|5;:  
[f9U9.fR  
struts.serve.static.browserCache #@QZ  
If static content served by the Struts filter should set browser caching header properties or not zoUM<6q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )zzK\I6/EQ  
hP1H/=~  
struts.serve.static x4&<Vr  
      Whether the Struts filter should serve static content or not =@F1J7  
      是否struts过滤器应该提供静态内容 ?=X G#we  
XN@F6Gj  
struts.tag.altSyntax biy1!r  
      Whether to use the alterative syntax for the tags or not $n30[P@p;  
      是否可以用替代的语法替代tags 3_:J`xX(4  
D\}A{I92F4  
struts.ui.templateDir {=5Wi|  
      The directory containing UI templates e_Ue9c.}  
      UI templates的目录夹 gZI88Q  
8{@0p"re@  
struts.ui.theme =.Tc l"O[  
      The default UI template theme %jgB;Y  
      默认的UI template主题 }0& @J'<  
Sz.sX w;  
struts.url.http.port |;XkU`G  
      The HTTP port used by Struts URLs gr?[KD l~  
      设置http端口 +9MoKn=h  
Cpm&w?6  
struts.url.https.port r~&[Gaw  
      The HTTPS port used by Struts URLs Q Q3a&  
      设置https端口 g]sc)4  
n*UD0U}`  
struts.url.includeParams -RisZ-n*  
      The default includeParams method to generate Struts URLs r2WW}W  
      在url中产生 默认的includeParams r &<sSE;5  
,i>{yrsOh  
@+OX1-dd/w  
struts.velocity.configfile s  bl> i  
      The Velocity configuration file path O_yk<  
      velocity配置文件路径 q97Z .o  
llbf(!  
struts.velocity.contexts ?Vy% <f$  
      List of Velocity context names lV4|(NQ9  
      velocity的context列表 vkFq/+'U  
eI%{/>  
MGt[zLF9  
struts.velocity.manager.classname sp=;i8Y 3  
      org.apache.struts2.views.velocity.VelocityManager implementation class C5q n(tv  
      org.apache.struts2.views.velocity.VelocityManager接口名 o5NV4=  
F }/tV7m  
struts.velocity.toolboxlocation =Oo=&vA.oc  
      The location of the Velocity toolbox 6Qo YX] .  
      velocity工具盒的位置 Q{s9{  
struts.xslt.nocache fwe4f  
      Whether or not XSLT templates should not be cached JDTlzu1hR  
      是否XSLT模版应该被缓存 8zDLX,M-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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