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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Ei;tfB  
U7r8FLl  
struts.action.extension uO?+vYAN  
      The URL extension to use to determine if the request is meant for a Struts action o/5-T4  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ARk(\,h  
']_2@<XW)  
struts.configuration rQ;w{8J\t  
      The org.apache.struts2.config.Configuration implementation class +$2{u_m,  
        org.apache.struts2.config.Configuration接口名 S;|:ci<[=  
/jbAf]"F;  
struts.configuration.files ?t#wK}d.  
      A list of configuration files automatically loaded by Struts ?#xl3Z ;I  
      struts自动加载的一个配置文件列表 sX>u.  
9d(\/ 7  
struts.configuration.xml.reload h^M_yz-f  
      Whether to reload the XML configuration or not  bGRt  
      是否加载xml配置(true,false) qQ@| Cj  
9U8M|W|d  
struts.continuations.package S,Y|;p<+^  
      The package containing actions that use Rife continuations c}(WniR-"  
      含有actions的完整连续的package名称 *@U{[J  
hHs/Qtq  
struts.custom.i18n.resources #6`5-5Ks;  
      Location of additional localization properties files to load P3M$&::D-  
      加载附加的国际化属性文件(不包含.properties后缀) y<)TYr  
vOQ% f?%G\  
struts.custom.properties @Nu2 :~JO  
      Location of additional configuration properties files to load 91-bz^=xO  
      加载附加的配置文件的位置 Up9{aX  
s#2t\}/  
L@}PW)#  
struts.devMode 7)66e  
      Whether Struts is in development mode or not 0-2|(9 Kc  
      是否为struts开发模式 b}e1JPk}!  
jHLs 5%  
struts.dispatcher.parametersWorkaround D=tZ}_'{t  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &quY^j  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 4aW@c<-r?  
FDHW' OP4  
struts.enable.DynamicMethodInvocation P4zo[R%4  
      Allows one to disable dynamic method invocation from the URL LPk@t^[  
        允许动态方法调用 l_B735  
z>x@o}#u\|  
struts.freemarker.manager.classname 7[m?\/K~  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ."Ms7=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 1{}p_"s>  
U& ?hG>  
struts.i18n.encoding SI(f&T(  
      The encoding to use for localization messages | ,8z" g  
      国际化信息内码 -<iP$,bq72  
M`MxdwR  
struts.i18n.reload 6j#JhcS+  
      Whether the localization messages should automatically be reloaded d2\ !tJm  
      是否国际化信息自动加载 Ni$'# W?t  
Epzg|L1)  
struts.locale f?3-C8 hU  
      The default locale for the Struts application TlG>)Z@/  
      默认的国际化地区信息 N&9o  1_}  
T j$'B[cv  
struts.mapper.class !avol/*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +WX/4_STV  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 }gp@0ri%5  
B(Sy.n  
struts.multipart.maxSize [&x9<f6  
      The maximize size of a multipart request (file upload) `lhw*{3A  
      multipart请求信息的最大尺寸(文件上传用) AGBV7Kk  
l|5 h  
struts.multipart.parser k.J%rRneN  
      The org.apache.struts2.dispatcher.multipart. [4)Oi-_Y>  
      MultiPartRequest parser implementation for a multipart request (file upload) b3(* /KgK  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9A .RD`fg  
m5Bf<E,c  
b R\7j+*&  
struts.multipart.saveDir XS<>0YM  
      The directory to use for storing uploaded files $vn6%M[  
      设置存储上传文件的目录夹 3JazQU  
#3uv^m LGa  
struts.objectFactory (vXr2Z<l  
      The com.opensymphony.xwork2.ObjectFactory implementation class WBe0^=x  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4GYi'  
lExQp2E  
struts.objectFactory.spring.autoWire WQ|:TLQ  
      Whether Spring should autoWire or not J^!;$Hkd  
      是否自动绑定Spring l#)X/(?;  
0G%9 @^B  
struts.objectFactory.spring.useClassCache (d9~z  
      Whether Spring should use its class cache or not hp dI5  
      是否spring应该使用自身的cache K_Y-N!h  
 01kRe  
struts.objectTypeDeterminer rPxRGoR  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class _&KqmQ8$7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 F.s$Y+c!6  
2.qPMqH  
struts.serve.static.browserCache H MOIUd  
If static content served by the Struts filter should set browser caching header properties or not dSI"yz  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 zzmC[,u}  
_,3ljf?WQM  
struts.serve.static bG;fwgAr  
      Whether the Struts filter should serve static content or not -t-f&`S||  
      是否struts过滤器应该提供静态内容 62xOh\(  
`sjY#Ua<  
struts.tag.altSyntax 5Cf!NNV  
      Whether to use the alterative syntax for the tags or not 4jT6h9%  
      是否可以用替代的语法替代tags /2^L;#  
"2%z;!U1  
struts.ui.templateDir ?0qVyK_1  
      The directory containing UI templates s 6Wp"V(  
      UI templates的目录夹 BR|!ya+_2  
S"bN9?;#u  
struts.ui.theme nz 10/nw  
      The default UI template theme R'c*CLaiE  
      默认的UI template主题 q~{) {t;  
%G?@Hye3  
struts.url.http.port *)^6'4=  
      The HTTP port used by Struts URLs manw;`Q  
      设置http端口 RB>=#03  
K)SWM3r  
struts.url.https.port #*A'<Zm  
      The HTTPS port used by Struts URLs /<[0o]  
      设置https端口 >a3m!`lq  
q~`hn(S  
struts.url.includeParams 2m Y!gVi  
      The default includeParams method to generate Struts URLs <^S\&v1C_  
      在url中产生 默认的includeParams Bc>j5^)8w  
7w )?s@CD  
d<c29Y  
struts.velocity.configfile Omd;  
      The Velocity configuration file path ss^a=?~  
      velocity配置文件路径 RhYe=Qh4{p  
~DH 9iB  
struts.velocity.contexts J,$xQ?,wE  
      List of Velocity context names :s)cTq|3  
      velocity的context列表 If'q8G3]-  
}:$cK(|  
?;~!C2Zs  
struts.velocity.manager.classname N2:Hdu :  
      org.apache.struts2.views.velocity.VelocityManager implementation class C T~6T&'  
      org.apache.struts2.views.velocity.VelocityManager接口名 (g6e5Sgi>  
Q  :kg  
struts.velocity.toolboxlocation 5:PS74/  
      The location of the Velocity toolbox ?XKX&ws  
      velocity工具盒的位置 O:BdZ5 b  
struts.xslt.nocache qI'pjTMDY  
      Whether or not XSLT templates should not be cached (Jp~=6&lKf  
      是否XSLT模版应该被缓存 Y7G sL7I  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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