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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Q.zE}ZS  
3;t{V$  
struts.action.extension 4eh~/o&h  
      The URL extension to use to determine if the request is meant for a Struts action J.;{`U=:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 67]kT%0  
r}%2;!T  
struts.configuration k&M9Hn2  
      The org.apache.struts2.config.Configuration implementation class -l2aAK1M  
        org.apache.struts2.config.Configuration接口名 +"8-)'  
OMM5p=2Q  
struts.configuration.files >$ok3-tuU  
      A list of configuration files automatically loaded by Struts a*GiLq  
      struts自动加载的一个配置文件列表 )h>H}wDs  
)i$:iI >k  
struts.configuration.xml.reload D$&LCW#x  
      Whether to reload the XML configuration or not /jB 0  
      是否加载xml配置(true,false) >r8$vQGj  
-]$=.0 l  
struts.continuations.package 4n 9c  
      The package containing actions that use Rife continuations : l&g5  
      含有actions的完整连续的package名称 ]\ DIJ>JZ  
M%S.Z4D (0  
struts.custom.i18n.resources +61h!/<W  
      Location of additional localization properties files to load +`_Km5=  
      加载附加的国际化属性文件(不包含.properties后缀) +@5@`"Jry  
:.J]s<J(F  
struts.custom.properties "'zVwU  
      Location of additional configuration properties files to load N |nZf5{  
      加载附加的配置文件的位置 +[C><uP  
\'[C_+;X  
5<=ktA48[  
struts.devMode W%,h{  
      Whether Struts is in development mode or not FsTl@zN  
      是否为struts开发模式 J~=tR1 k  
XxeyGs^%9  
struts.dispatcher.parametersWorkaround Duh[(r_  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic g$a 5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~IIlCmMl,  
f0Zn31c^  
struts.enable.DynamicMethodInvocation ;G\RGU~  
      Allows one to disable dynamic method invocation from the URL *$/!.e  
        允许动态方法调用 oy< q;'  
iLR^V!  
struts.freemarker.manager.classname fJ8Q\lb<_  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,lUr[xzV  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Z?AX  
bzh`s<+  
struts.i18n.encoding ZBcT@hxm  
      The encoding to use for localization messages x=jS=3$8  
      国际化信息内码 ^`< %Pk  
E6njm du  
struts.i18n.reload $Il:Yw_  
      Whether the localization messages should automatically be reloaded ek9Y9eJ"  
      是否国际化信息自动加载 blHJhB&8  
P S [ifC  
struts.locale eT<T[; m  
      The default locale for the Struts application \&Bvh4Q  
      默认的国际化地区信息 SIr^\iiOB  
sPoH12?AL  
struts.mapper.class VzZ'W[/7)B  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 5L%\rH&N  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 s J~WzQ  
JS{trqc1d  
struts.multipart.maxSize /QT"5fxKJ  
      The maximize size of a multipart request (file upload) 8O='Q-& 8  
      multipart请求信息的最大尺寸(文件上传用) %g+*.8;"b  
z:a%kZQ!0  
struts.multipart.parser 8"5^mj  
      The org.apache.struts2.dispatcher.multipart. r)Dln5F  
      MultiPartRequest parser implementation for a multipart request (file upload) `:y {  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8IrA {UU  
B^yA+&3HI  
p%?m|(4f  
struts.multipart.saveDir 0'Y'K6hG`  
      The directory to use for storing uploaded files $CgR~D2G  
      设置存储上传文件的目录夹 m.0: R  
,rZp(moj  
struts.objectFactory "T+oXK\B  
      The com.opensymphony.xwork2.ObjectFactory implementation class o1B8_$aYgc  
      com.opensymphony.xwork2.ObjectFactory接口(spring) hJsYKd8g  
vD@ =V#T  
struts.objectFactory.spring.autoWire L%sskV(  
      Whether Spring should autoWire or not D <SLv,Y  
      是否自动绑定Spring CQGq}.Jt!  
Q`* v|Lp  
struts.objectFactory.spring.useClassCache U 4Sxr  
      Whether Spring should use its class cache or not b!hs|emo;  
      是否spring应该使用自身的cache +* AdSzX  
wx2 EMr   
struts.objectTypeDeterminer /CW 0N@  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class %hM8px4d  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 dd&n>A3O=  
Z&w/JP?  
struts.serve.static.browserCache Rx,Qw> #  
If static content served by the Struts filter should set browser caching header properties or not <[W41{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -<MA\iSP  
LLlt9(^d  
struts.serve.static -o`Eka!ELz  
      Whether the Struts filter should serve static content or not "jFRGgd79  
      是否struts过滤器应该提供静态内容 g$P<`.  
<!m'xOD  
struts.tag.altSyntax E]<Ce;Vj  
      Whether to use the alterative syntax for the tags or not l]wjH5mz=i  
      是否可以用替代的语法替代tags d=J$H<  
y8k*{1MuO  
struts.ui.templateDir BXx0Z %e.3  
      The directory containing UI templates t<%S_J\  
      UI templates的目录夹 _5%NG 3c  
,-[e{=Cz  
struts.ui.theme gqCDF H  
      The default UI template theme M!Hn`_E  
      默认的UI template主题 8;vpa*  
KOqp@K$  
struts.url.http.port S="teH[  
      The HTTP port used by Struts URLs Vy6A]U\%  
      设置http端口 <.6bni )  
6&Al9+$  
struts.url.https.port ^P| K2at  
      The HTTPS port used by Struts URLs 6%nKrK  
      设置https端口 72;4  
A"$UU6Z4  
struts.url.includeParams D;RZE  
      The default includeParams method to generate Struts URLs E/[<} ./  
      在url中产生 默认的includeParams 4PsJs<u  
{TV6eV  
V/; / &  
struts.velocity.configfile b7nER]R  
      The Velocity configuration file path [LcHO] _^M  
      velocity配置文件路径 =%UX"K`  
$&>z`bAS>  
struts.velocity.contexts p=-:Z?EW1  
      List of Velocity context names QL{{GQ_dn  
      velocity的context列表 v\;hI5WY  
h4\j=Np  
O F|3y~z  
struts.velocity.manager.classname =5PNH2  
      org.apache.struts2.views.velocity.VelocityManager implementation class `fA|])3T  
      org.apache.struts2.views.velocity.VelocityManager接口名 &-s/F`  
nWd]P\a'V  
struts.velocity.toolboxlocation 5*he  
      The location of the Velocity toolbox B"9/+Yj  
      velocity工具盒的位置 P{{pp<tX*&  
struts.xslt.nocache {8YNmxF#  
      Whether or not XSLT templates should not be cached 5*#!w1X  
      是否XSLT模版应该被缓存 '&<T;V%  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五