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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 }X^CH2,R  
fIm=^}?fwK  
struts.action.extension W3-g]#\?  
      The URL extension to use to determine if the request is meant for a Struts action }-15^2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 JzuP A I  
T,fDH!a  
struts.configuration U~YjTjbd  
      The org.apache.struts2.config.Configuration implementation class 95hdQ<W  
        org.apache.struts2.config.Configuration接口名 IltU6=]"l  
53)*i\9&  
struts.configuration.files Lo^gg#o  
      A list of configuration files automatically loaded by Struts <%EjrjdvL+  
      struts自动加载的一个配置文件列表 C+X- Cp  
6eHw\$/  
struts.configuration.xml.reload z)XI A)i6  
      Whether to reload the XML configuration or not I<LIw8LI  
      是否加载xml配置(true,false) $%0A#&DVh  
<+)B8I^  
struts.continuations.package J#*R]LU|  
      The package containing actions that use Rife continuations >J_%'%%f  
      含有actions的完整连续的package名称 Gjo&~*;  
nj5Hls  
struts.custom.i18n.resources l\1_v7s  
      Location of additional localization properties files to load &1,{.:@e  
      加载附加的国际化属性文件(不包含.properties后缀) &xMQ  
 o C#W  
struts.custom.properties W#lt_2!j  
      Location of additional configuration properties files to load fW8whN  
      加载附加的配置文件的位置 rEG!A87Zz  
EawtT  
:}p<Hq 8Z  
struts.devMode 8I,/ysT:  
      Whether Struts is in development mode or not '"fZGz?  
      是否为struts开发模式 D}A>`6W<  
hxx`f-#=  
struts.dispatcher.parametersWorkaround <CY<-H  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic V}+Ui]ie|I  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #JW~&;  
(GXFPEH8  
struts.enable.DynamicMethodInvocation  H= (Zx  
      Allows one to disable dynamic method invocation from the URL |FH|l#bu>  
        允许动态方法调用 71!'k>]h  
xr).ZswQ  
struts.freemarker.manager.classname `} :~,E  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class |;MW98 A  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 u<K{=94!e  
h\PybSW4s  
struts.i18n.encoding rv;is=#1  
      The encoding to use for localization messages 8u4FagQ,  
      国际化信息内码 e{7"7wn=  
( t59SY  
struts.i18n.reload GMQKR,6VM  
      Whether the localization messages should automatically be reloaded B{\qYL/~  
      是否国际化信息自动加载 gWpG-RL0  
ZIikDi h1  
struts.locale A,#a?O6m  
      The default locale for the Struts application +o^sm'$  
      默认的国际化地区信息 UJhUb)}^  
'NDDj0Y  
struts.mapper.class M5<c HE  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .[8g6:>  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 u$V8fus0  
nh? ~S`  
struts.multipart.maxSize fMZzR|_18  
      The maximize size of a multipart request (file upload) Q _ M:v  
      multipart请求信息的最大尺寸(文件上传用) l~*D jr~  
o`<ps$ yT  
struts.multipart.parser z< ,rE  
      The org.apache.struts2.dispatcher.multipart. ]aTF0 R  
      MultiPartRequest parser implementation for a multipart request (file upload)  _)=eE  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,ou&WI yC  
!;h`J:dN  
iK3gw<g  
struts.multipart.saveDir !J-oGs\ u  
      The directory to use for storing uploaded files ~#y(]Xec2  
      设置存储上传文件的目录夹  V4q v7  
h1jEulcMtq  
struts.objectFactory Z]x)d|3;  
      The com.opensymphony.xwork2.ObjectFactory implementation class '5 kSr(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 't <hhjPqY  
#AUV&pI[  
struts.objectFactory.spring.autoWire p~NFiZ,  
      Whether Spring should autoWire or not S^*ME*DDz  
      是否自动绑定Spring 3KN>t)A#  
]B>g~t5J  
struts.objectFactory.spring.useClassCache ERZWK  
      Whether Spring should use its class cache or not d<+@cf_9  
      是否spring应该使用自身的cache ePxwN?  
vD'YLn%Q  
struts.objectTypeDeterminer qF57T>v|  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \YrvH  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3~6,fTMz{  
N,~"8YSo  
struts.serve.static.browserCache ?2i\E RG?  
If static content served by the Struts filter should set browser caching header properties or not j#[%-nOT  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 z((9vi W  
)h,-zAnZ  
struts.serve.static j^qI~|#  
      Whether the Struts filter should serve static content or not 3}25=%;[  
      是否struts过滤器应该提供静态内容 n+%tu"e  
cL yed3uU  
struts.tag.altSyntax fZF.eRP '  
      Whether to use the alterative syntax for the tags or not `(Ij@8 4  
      是否可以用替代的语法替代tags 7zEpuw  
Zq\Vq:MX  
struts.ui.templateDir Q3|I.I e  
      The directory containing UI templates lJ/{.uK  
      UI templates的目录夹 $mLiEsJ  
v7@O ,%  
struts.ui.theme @1^:V-=  
      The default UI template theme IM$I=5y e  
      默认的UI template主题 C3GI?| b  
}j6<S-s~  
struts.url.http.port )*T <s  
      The HTTP port used by Struts URLs d6ABgQi0  
      设置http端口 fgEMn;  
;/|3U7{c  
struts.url.https.port +U= !svE  
      The HTTPS port used by Struts URLs RuuXDuu:VL  
      设置https端口 Zg~6  
EGIwqci:  
struts.url.includeParams @(_f}S gfE  
      The default includeParams method to generate Struts URLs |?Bb{Es  
      在url中产生 默认的includeParams aT`. e  
rJqRzF{|P6  
8jz[;.jP",  
struts.velocity.configfile 9d1 G u"  
      The Velocity configuration file path 7UA|G2Zr  
      velocity配置文件路径 j3yz"-53e  
QB|D_?]  
struts.velocity.contexts rN5;W  
      List of Velocity context names hD! 9[Gb  
      velocity的context列表 >$dkA\&p  
KM jnY2  
)'Yoii{dSU  
struts.velocity.manager.classname IWD21lS  
      org.apache.struts2.views.velocity.VelocityManager implementation class %2t#>}If!  
      org.apache.struts2.views.velocity.VelocityManager接口名 2i_X{!0}  
vhj^R5=  
struts.velocity.toolboxlocation oq3{q  
      The location of the Velocity toolbox Ad]oM]  
      velocity工具盒的位置 k}r)I.Lp  
struts.xslt.nocache )o>1=Y`[z  
      Whether or not XSLT templates should not be cached ?7CHHk  
      是否XSLT模版应该被缓存 >W7IWhm3  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五