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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >t9DI  
g9Dynm5  
struts.action.extension q(EN]W],  
      The URL extension to use to determine if the request is meant for a Struts action Ta3* G  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Y x66Xy  
o=![+g  
struts.configuration L09r|g4Z  
      The org.apache.struts2.config.Configuration implementation class N:KM8PZ&~  
        org.apache.struts2.config.Configuration接口名 hw`pi6  
w$]wd`N}  
struts.configuration.files A]%*ye"NT  
      A list of configuration files automatically loaded by Struts 4QC_zyTE  
      struts自动加载的一个配置文件列表 1D1kjM^Bo  
?]*"S{Cqv  
struts.configuration.xml.reload LGtw4'yr  
      Whether to reload the XML configuration or not ]w*`}  
      是否加载xml配置(true,false)  b utBS  
5%K|dYv^^  
struts.continuations.package  !Qsjn  
      The package containing actions that use Rife continuations b5~p:f-&4B  
      含有actions的完整连续的package名称 i u0'[  
I(3YXv VN  
struts.custom.i18n.resources D{6BX-Dw.  
      Location of additional localization properties files to load ~md06"AYJ  
      加载附加的国际化属性文件(不包含.properties后缀) h8k\~/iJ  
h0x'QiCc  
struts.custom.properties Jz0AYiCq  
      Location of additional configuration properties files to load _/ 5  
      加载附加的配置文件的位置 3k8nWT:wT  
< h|&7  
%"#ydOy  
struts.devMode +s7w@  
      Whether Struts is in development mode or not 71IM`eL=ED  
      是否为struts开发模式 ?hrz@k|  
}YiFiGf,  
struts.dispatcher.parametersWorkaround _9=cxwi<w  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !u:;Ew  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) all2?neK  
([SJ6ff]&  
struts.enable.DynamicMethodInvocation vwAhNw2-  
      Allows one to disable dynamic method invocation from the URL 2/F8kVx{  
        允许动态方法调用  '"hSX=  
;i [;%  
struts.freemarker.manager.classname IW}Wt{'m  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @eESKg(,  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 jW^]N$>  
t8lGC R  
struts.i18n.encoding ,l,q;]C%  
      The encoding to use for localization messages I4 <_y5  
      国际化信息内码 ZBH^0  
YJDJj x  
struts.i18n.reload AnE] kq u  
      Whether the localization messages should automatically be reloaded @d0~'_vtB  
      是否国际化信息自动加载 0a!|*Z  
W8-vF++R  
struts.locale t3v_o4`&  
      The default locale for the Struts application X-CoC   
      默认的国际化地区信息 |NTqJ j  
8"[{[<-   
struts.mapper.class y\9#"=+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lQRtsmZ0  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 w}97`.Kt!n  
{XC[Ia6jtL  
struts.multipart.maxSize @bAu R  
      The maximize size of a multipart request (file upload) K|D1  
      multipart请求信息的最大尺寸(文件上传用) ^@Qc!(P  
W%MS,zkAE  
struts.multipart.parser +T,0,^ *  
      The org.apache.struts2.dispatcher.multipart. Xe\v6gbD  
      MultiPartRequest parser implementation for a multipart request (file upload) #Hl?R5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) L|'B*  
05jjLM'e  
bq8h?Q  
struts.multipart.saveDir QM~~b=P,\  
      The directory to use for storing uploaded files NE &{_i!  
      设置存储上传文件的目录夹 #7YJ87<E  
gTLBR  
struts.objectFactory F{ C2% s#  
      The com.opensymphony.xwork2.ObjectFactory implementation class G~ 4G$YL*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) M D& 7k,!  
`O%O[  
struts.objectFactory.spring.autoWire L@?3E`4/v  
      Whether Spring should autoWire or not V1Gnr~GM  
      是否自动绑定Spring T}"[f/:N/  
}P\6}cK  
struts.objectFactory.spring.useClassCache 3".#nN  
      Whether Spring should use its class cache or not d\c)cgh%  
      是否spring应该使用自身的cache q}z`Z/`/  
rzvKvGd#N  
struts.objectTypeDeterminer ,nV4%Aa  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class G2sj<F=AV  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 z${[Z=  
wIWO?w2  
struts.serve.static.browserCache I%<pS ,p  
If static content served by the Struts filter should set browser caching header properties or not  niyxZ<Z  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0<f.r~  
00r7trZW^  
struts.serve.static N>)Db  
      Whether the Struts filter should serve static content or not : Hu {MN\  
      是否struts过滤器应该提供静态内容 i{Du6j^j  
4#t-?5"  
struts.tag.altSyntax ttBqp|.?S  
      Whether to use the alterative syntax for the tags or not Ef@Et(f_mQ  
      是否可以用替代的语法替代tags Uaj_,qb(  
Jm0.\[J  
struts.ui.templateDir <29K! [  
      The directory containing UI templates )4 ,U  
      UI templates的目录夹 -I;\9r+  
;Z`R!  
struts.ui.theme t4hc X[  
      The default UI template theme `9T5Dem|#  
      默认的UI template主题 ['K}p24,  
N9rAosO*  
struts.url.http.port V:+z3)qF  
      The HTTP port used by Struts URLs 80o'=E}"  
      设置http端口 VZ 7(6?W  
 5IF$M2j  
struts.url.https.port Krl9O]H/[  
      The HTTPS port used by Struts URLs 7 Z? Hyv  
      设置https端口 .2ZFJ.Z"  
H9!q)qlK  
struts.url.includeParams OpK_?XG  
      The default includeParams method to generate Struts URLs ekmWYQ ~  
      在url中产生 默认的includeParams RU>qj *e  
@Q;s[Kg{!  
@tJic|)x  
struts.velocity.configfile vF[ 4kDHk  
      The Velocity configuration file path 8f65;lyN  
      velocity配置文件路径 OF-VVIS  
{:Kr't<XzF  
struts.velocity.contexts ?|\wJrM ]  
      List of Velocity context names q)AX*T+  
      velocity的context列表 0y+i?y 9  
2n-kJl`: O  
Ea-U+7JC  
struts.velocity.manager.classname Qam48XZ >  
      org.apache.struts2.views.velocity.VelocityManager implementation class {.y_{yWo  
      org.apache.struts2.views.velocity.VelocityManager接口名 C46jVl   
#~.RJ%  
struts.velocity.toolboxlocation Tb8r+~HK  
      The location of the Velocity toolbox de TD|R  
      velocity工具盒的位置 dT (i*E\j  
struts.xslt.nocache #5{BxX&\  
      Whether or not XSLT templates should not be cached MpIiHKQ G9  
      是否XSLT模版应该被缓存 P|C5k5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五