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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _Cj(fFL  
(NPxab8e*  
struts.action.extension @FU~1u3d  
      The URL extension to use to determine if the request is meant for a Struts action ,2,W^HJ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @\!ww/QT  
N70zjy4?fL  
struts.configuration IEc>.J|T&  
      The org.apache.struts2.config.Configuration implementation class {-J:4*`  
        org.apache.struts2.config.Configuration接口名 fwy"w  
Q4=|@|U0  
struts.configuration.files ;sCU [4  
      A list of configuration files automatically loaded by Struts U[bgu#P;  
      struts自动加载的一个配置文件列表 0_Lm#fE U  
q1jN]H  
struts.configuration.xml.reload Z~_8P  
      Whether to reload the XML configuration or not lf6|.  
      是否加载xml配置(true,false) XO%~6Us^  
*<UGgnmLE  
struts.continuations.package I ld7}R  
      The package containing actions that use Rife continuations g1ytT%]  
      含有actions的完整连续的package名称 dGU8+)2cn  
K0v.3  
struts.custom.i18n.resources ?3Pazc]+|  
      Location of additional localization properties files to load JA< :K0  
      加载附加的国际化属性文件(不包含.properties后缀) jAZ >mo[  
1g~y]iQ  
struts.custom.properties A*Rn<{U  
      Location of additional configuration properties files to load o_(0  
      加载附加的配置文件的位置 7pP+5&*  
95[wM6?J  
bb}?h]a   
struts.devMode IqNpLh|[  
      Whether Struts is in development mode or not rpSr^slr  
      是否为struts开发模式 l^ Rm0t_  
JCNk\@0i*  
struts.dispatcher.parametersWorkaround l 1|~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }I]W'<jY  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /h7.oD8CU  
P2t_T'R}  
struts.enable.DynamicMethodInvocation E0<)oQ0Xa>  
      Allows one to disable dynamic method invocation from the URL "ee'2O  
        允许动态方法调用 zA,/@/'(  
s%^o*LQ|9  
struts.freemarker.manager.classname (![t_r0  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Ox|TMSb^  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _0.pvQ  
>(OYK}ZN  
struts.i18n.encoding K?[)E3  
      The encoding to use for localization messages Co[n--@C  
      国际化信息内码 (_ U^  
-,|ha>r  
struts.i18n.reload -Uri|^t  
      Whether the localization messages should automatically be reloaded ZL=N[XW4'  
      是否国际化信息自动加载 -~\f2'Q  
L{<7.?{Y  
struts.locale j %H`0  
      The default locale for the Struts application <XvYa{t]{  
      默认的国际化地区信息 JtFiFaCxY  
/K@$#x_{  
struts.mapper.class .yX>.>"T|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |AC6sfA+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 `.[ 8$  
P.h.M A]  
struts.multipart.maxSize QLn+R(r  
      The maximize size of a multipart request (file upload) a*s\Em7f  
      multipart请求信息的最大尺寸(文件上传用) 4\HsU9x  
Z(`r-}f I  
struts.multipart.parser |(RZ/d<X\a  
      The org.apache.struts2.dispatcher.multipart. "$DldHC  
      MultiPartRequest parser implementation for a multipart request (file upload) c|Y!c!9F  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R^6Zafp  
@mNJ=mEV  
m:3J!1  
struts.multipart.saveDir Z7KXWu+6`m  
      The directory to use for storing uploaded files .jargvAL*  
      设置存储上传文件的目录夹 {>h97}P  
B4^`Sw  
struts.objectFactory >(3'Tnu  
      The com.opensymphony.xwork2.ObjectFactory implementation class ~~q}cywBk  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {_(+>v"eJ  
Zih ?Bm  
struts.objectFactory.spring.autoWire ,VWGq@o%  
      Whether Spring should autoWire or not #%8 w  
      是否自动绑定Spring g|4w8ry  
nP;;MX:B  
struts.objectFactory.spring.useClassCache !k-` eJ|  
      Whether Spring should use its class cache or not 5 VKcV&D  
      是否spring应该使用自身的cache S>#R_H<(  
s1=+::  
struts.objectTypeDeterminer . ,R4WA,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class m8HYW zN  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )!sa)\E?  
-dG,*0 >  
struts.serve.static.browserCache $rB6<  
If static content served by the Struts filter should set browser caching header properties or not [ f34a  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^K;hn,R=  
Pin/qp&Fa8  
struts.serve.static "{ FoA3g|  
      Whether the Struts filter should serve static content or not yd*3)6=  
      是否struts过滤器应该提供静态内容 {*$9,  
auL^%M|$R  
struts.tag.altSyntax jA<T p}$!  
      Whether to use the alterative syntax for the tags or not \8>oJR 6  
      是否可以用替代的语法替代tags 6c &Y  
Yf= FeH7"  
struts.ui.templateDir h)@InYwu7  
      The directory containing UI templates J=9#mOcg"  
      UI templates的目录夹 n`.#59-Hx  
si?HkJv5  
struts.ui.theme W>/UBN3  
      The default UI template theme o\goE^,aeR  
      默认的UI template主题 t!t=|JNf{  
6v>z h  
struts.url.http.port \iga Q\~  
      The HTTP port used by Struts URLs oCuV9dA.  
      设置http端口 Hm4bN\%  
2yxi= XWZ  
struts.url.https.port VDpxk$a  
      The HTTPS port used by Struts URLs DEtf(lW_  
      设置https端口 {cR3.%wX  
B6%&gXr\  
struts.url.includeParams !=[>r'+3  
      The default includeParams method to generate Struts URLs /< QSe  
      在url中产生 默认的includeParams 7xT[<?,  
Ow)R|/e /  
R&Ci/  
struts.velocity.configfile .[(P  
      The Velocity configuration file path TVeJ6  
      velocity配置文件路径 q% E C  
u*2JUI*  
struts.velocity.contexts ]| WA#8_|  
      List of Velocity context names ]EN&SWh  
      velocity的context列表 $20s]ywS  
~-<:+9m  
EY$?^iS  
struts.velocity.manager.classname DY.58IHg1  
      org.apache.struts2.views.velocity.VelocityManager implementation class s#P:6]Ar  
      org.apache.struts2.views.velocity.VelocityManager接口名 sUc iFAb  
'hIU_  
struts.velocity.toolboxlocation tT-=hDw  
      The location of the Velocity toolbox L[]BzsIv  
      velocity工具盒的位置 -_|]N/v\  
struts.xslt.nocache zo44^=~%  
      Whether or not XSLT templates should not be cached hVf^  
      是否XSLT模版应该被缓存 ERC<Dd0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八