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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 (v]%kXy/G  
"zEl2Xn28_  
struts.action.extension R"nB4R0Uh  
      The URL extension to use to determine if the request is meant for a Struts action g4?2'G5m?  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Oa[  
%|-N{>wKy  
struts.configuration |XyX%5p*  
      The org.apache.struts2.config.Configuration implementation class QPlU+5Cx  
        org.apache.struts2.config.Configuration接口名 i<QDV W9  
ptCF))Zm'  
struts.configuration.files \:vF FK4a  
      A list of configuration files automatically loaded by Struts WogUILB  
      struts自动加载的一个配置文件列表 Ot=>~(u0  
.3 EZk86  
struts.configuration.xml.reload ;n&95t1$  
      Whether to reload the XML configuration or not 8_Oeui(i  
      是否加载xml配置(true,false) "j>X^vn  
{R1]tGOf  
struts.continuations.package rOJ>lPs  
      The package containing actions that use Rife continuations J/1kJ@5  
      含有actions的完整连续的package名称 ]H1mj#EWU  
#xI g(nG  
struts.custom.i18n.resources yD9enYM  
      Location of additional localization properties files to load Liqo)m  
      加载附加的国际化属性文件(不包含.properties后缀) bt}8ymcG  
{##G.n\~  
struts.custom.properties v?8WQNy  
      Location of additional configuration properties files to load Ob0sB@  
      加载附加的配置文件的位置 M.}9)ho   
8}QM~&&.  
sW>%mnx  
struts.devMode fc#9e9R  
      Whether Struts is in development mode or not {lI}a8DP  
      是否为struts开发模式 x9lA';})  
AL]gK)R  
struts.dispatcher.parametersWorkaround l+ }=D@l  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic f:;-ZkIU ?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *D]:{#C*  
DV5hTw0  
struts.enable.DynamicMethodInvocation Q'<AV1<  
      Allows one to disable dynamic method invocation from the URL .S` q2C\  
        允许动态方法调用 :V/".K-:J  
6H#: rM  
struts.freemarker.manager.classname wE .H:q4&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Ev fvU:z  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 x ;DoQx  
mxlh\'b  
struts.i18n.encoding Xaz "!  
      The encoding to use for localization messages [4Q;(67  
      国际化信息内码 [ &TF]az  
Qz(D1>5I?  
struts.i18n.reload )*KMU?  
      Whether the localization messages should automatically be reloaded j0l,1=^>l  
      是否国际化信息自动加载 1?'4%>kp  
-P]O t>%S  
struts.locale i/>k_mG$d  
      The default locale for the Struts application hh;kBv07o  
      默认的国际化地区信息 )5|9EXh  
|rx5O5p  
struts.mapper.class ;*%rFt9FK  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %\'=Y/yP  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;c 7I "?@z  
h,LSqjf "  
struts.multipart.maxSize 5U 84 *RY  
      The maximize size of a multipart request (file upload) U,rI/'  
      multipart请求信息的最大尺寸(文件上传用) J( 1Tl  
(-C)A-Uo&  
struts.multipart.parser  A 3 V  
      The org.apache.struts2.dispatcher.multipart. C:E f6ZW  
      MultiPartRequest parser implementation for a multipart request (file upload) L>Y+}]~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) V^7.@BeT  
PT>b%7Of  
8h] TI_  
struts.multipart.saveDir f&-`+V}U  
      The directory to use for storing uploaded files 1]xmOx[mb  
      设置存储上传文件的目录夹 n_kwtWX(  
\8CCa(H  
struts.objectFactory >}SEU-7&\  
      The com.opensymphony.xwork2.ObjectFactory implementation class GcO2oq  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `KQx#c>'  
jg$qp%7i%  
struts.objectFactory.spring.autoWire Dk  `&tr  
      Whether Spring should autoWire or not Ejk;(rxI  
      是否自动绑定Spring /&gg].&2?  
^O}a,  
struts.objectFactory.spring.useClassCache =2!p>>t,d;  
      Whether Spring should use its class cache or not 0cm34\*  
      是否spring应该使用自身的cache QK_5gD`$a,  
VEps|d3,,  
struts.objectTypeDeterminer =~:IiK/#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class CE"/&I  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .s{ "NqRA  
x`6MAZ  
struts.serve.static.browserCache s&7 3g0$$  
If static content served by the Struts filter should set browser caching header properties or not (~~m8VJ>  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w:\} B'u  
!5,C"r  
struts.serve.static -Y_, .'ex  
      Whether the Struts filter should serve static content or not J v}  
      是否struts过滤器应该提供静态内容 <Jgcj 4D  
1I%u)[;>  
struts.tag.altSyntax %lCZ7z2o  
      Whether to use the alterative syntax for the tags or not 5]O{tSj  
      是否可以用替代的语法替代tags u`|%qRt  
"#C2+SKM1  
struts.ui.templateDir ZTR9e\F  
      The directory containing UI templates Vb,V N?l  
      UI templates的目录夹 +tPBm{|  
217G[YE-  
struts.ui.theme :FAPH8]  
      The default UI template theme oc1BOW z  
      默认的UI template主题 *'((_ NZ>  
#-yCR  
struts.url.http.port G+dq */  
      The HTTP port used by Struts URLs 0? {ADQz  
      设置http端口 3)G~ud  
_xKn2?d8g  
struts.url.https.port x^1udK^re  
      The HTTPS port used by Struts URLs s#?ZwD,=  
      设置https端口 #E]K*mE'  
R4p Pt  
struts.url.includeParams Lt*P&  
      The default includeParams method to generate Struts URLs --$* q"  
      在url中产生 默认的includeParams =WTSaC  
XIwJhsYZ'9  
J,}h{-Xy`  
struts.velocity.configfile d:)#-x*h7  
      The Velocity configuration file path fJS:46  
      velocity配置文件路径 =x<N+vjXY  
bYsX?0T!p  
struts.velocity.contexts Y4k2=w:D  
      List of Velocity context names lDL&":t  
      velocity的context列表 ?.e,NHf  
t/;2rIx>  
4!dc/K  
struts.velocity.manager.classname XPdmz!,b  
      org.apache.struts2.views.velocity.VelocityManager implementation class kqBZsfF  
      org.apache.struts2.views.velocity.VelocityManager接口名 U3_${  
5%}e j)@  
struts.velocity.toolboxlocation 9q'&tU'a=c  
      The location of the Velocity toolbox SwOW%o  
      velocity工具盒的位置 x;~:p;]J2F  
struts.xslt.nocache U WT%0t_T  
      Whether or not XSLT templates should not be cached o]1BWwtY&  
      是否XSLT模版应该被缓存 a7g;8t-&   
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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