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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 c-|~ABtEpX  
V-#OiMWa~  
struts.action.extension S7{L-"D =y  
      The URL extension to use to determine if the request is meant for a Struts action ~FnB!Mh}?  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^ :%"Z&  
-Wp69DP6q  
struts.configuration bPaE;?m  
      The org.apache.struts2.config.Configuration implementation class ;.Lf9XJ   
        org.apache.struts2.config.Configuration接口名 hxIG0d!o  
dQ&S&SW  
struts.configuration.files f L @rv  
      A list of configuration files automatically loaded by Struts K+9oV[DMs  
      struts自动加载的一个配置文件列表 (7C&I- l  
gmU_# J%~  
struts.configuration.xml.reload h/I'9&J>*  
      Whether to reload the XML configuration or not I! s&m%s  
      是否加载xml配置(true,false) .~ )[>  
x$Gu)S  
struts.continuations.package tVSURYA8  
      The package containing actions that use Rife continuations :)!X%2 _  
      含有actions的完整连续的package名称 yZ {H  
 $D`~X`  
struts.custom.i18n.resources (&n4^tJ+_  
      Location of additional localization properties files to load ls5s}X  
      加载附加的国际化属性文件(不包含.properties后缀) L0v& m  
\,:3bY_d  
struts.custom.properties ^%)H;  
      Location of additional configuration properties files to load r?{$k3Vl  
      加载附加的配置文件的位置 3Uzb]D~u  
$U,`M"  
8vzjPWu  
struts.devMode eY3l^Su1  
      Whether Struts is in development mode or not 3|$>2IRq  
      是否为struts开发模式 1!u}~E_   
',?9\xEB  
struts.dispatcher.parametersWorkaround Q o}&2m  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic e-$ U .cx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %+PWcCmn  
J. ]~J|K  
struts.enable.DynamicMethodInvocation : K%{?y  
      Allows one to disable dynamic method invocation from the URL P3w]PG@  
        允许动态方法调用  2C9wOO  
tBDaFB  
struts.freemarker.manager.classname w]Q0}Z  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class czMu<@c [  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 bFivHms  
8.Q;o+NU  
struts.i18n.encoding R5`"~qP-  
      The encoding to use for localization messages "qEi$a&]  
      国际化信息内码 zdDn. vG  
/:]`TlAb,  
struts.i18n.reload 'r KDw06/  
      Whether the localization messages should automatically be reloaded g.AMCM?z  
      是否国际化信息自动加载 )@-v6;7b0  
_%g}d/v}pO  
struts.locale Ka[@-XH  
      The default locale for the Struts application (TufvHC  
      默认的国际化地区信息 \Y)pm9!  
oY!nM%z/  
struts.mapper.class 4::>Ca^{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @Y/PvS8!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]LFY2w<  
Z]$RO  
struts.multipart.maxSize [ emUyF  
      The maximize size of a multipart request (file upload) j, SOL9yg  
      multipart请求信息的最大尺寸(文件上传用) (kpn"]^'  
zYf `o0U  
struts.multipart.parser GA19=gow  
      The org.apache.struts2.dispatcher.multipart. gu+c7qe  
      MultiPartRequest parser implementation for a multipart request (file upload)  &Gp~)%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) C -@  
->DfT*)  
L2s)B  
struts.multipart.saveDir Fs^d-I  
      The directory to use for storing uploaded files VGbuEC[Y  
      设置存储上传文件的目录夹 ?Ji.bnfK  
eySV -f{  
struts.objectFactory Cm:&n|  
      The com.opensymphony.xwork2.ObjectFactory implementation class v#iKa+tx  
      com.opensymphony.xwork2.ObjectFactory接口(spring) SK2nxZOH  
|*4)G6J@n  
struts.objectFactory.spring.autoWire auOYi<<>W  
      Whether Spring should autoWire or not ]h0Fv-[A  
      是否自动绑定Spring rbP" n)0=  
#(o 'G4T  
struts.objectFactory.spring.useClassCache 3L24|-GxH  
      Whether Spring should use its class cache or not Ndj9B|s_  
      是否spring应该使用自身的cache '}a[9v76  
6d~[My  
struts.objectTypeDeterminer 8l|v#^v  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )A]E:]2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8Z;wF  
*G"vV>OSV  
struts.serve.static.browserCache 0{ov LzW  
If static content served by the Struts filter should set browser caching header properties or not {7^7)^@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 yteJHaq  
rvT7 5dV0  
struts.serve.static MpbH!2J  
      Whether the Struts filter should serve static content or not .pNPC|XU  
      是否struts过滤器应该提供静态内容 `Q2 `":  
iE}jilU  
struts.tag.altSyntax S[fzy$">  
      Whether to use the alterative syntax for the tags or not ]A}'jP  
      是否可以用替代的语法替代tags vt`hY4  
- #]?3*NO  
struts.ui.templateDir jd;=5(2  
      The directory containing UI templates F^ kH"u[  
      UI templates的目录夹 1gp3A  
C3fSSa%b  
struts.ui.theme ${n=1-SMU  
      The default UI template theme x Z2 }1D  
      默认的UI template主题 |;q*Zy(  
4]$cf:  
struts.url.http.port .+XGbs]kCi  
      The HTTP port used by Struts URLs }+U} [G  
      设置http端口 1-@.[VI  
L2>UA<@mZ  
struts.url.https.port Q2;zve&Dl  
      The HTTPS port used by Struts URLs XZhX%OT!  
      设置https端口 <\k=j{@  
\M>+6m@w  
struts.url.includeParams ]}Hcb)'j@  
      The default includeParams method to generate Struts URLs 6T 2jVNg  
      在url中产生 默认的includeParams Fy-+? ~  
Y7R"~IA$  
|xaJv:96%  
struts.velocity.configfile Mf0g)X}1  
      The Velocity configuration file path T:Dp+m!\{  
      velocity配置文件路径 ]saf<?fzr  
mLM$dk3  
struts.velocity.contexts 7*5$=z4,1  
      List of Velocity context names gx&BzODPd0  
      velocity的context列表 620y[iiK$  
Qg+0(odd  
)%8oE3O#  
struts.velocity.manager.classname VXvr`U\  
      org.apache.struts2.views.velocity.VelocityManager implementation class _H|c _  
      org.apache.struts2.views.velocity.VelocityManager接口名 zECdj'/  
=p>"PqJ/7n  
struts.velocity.toolboxlocation P/._ tQu6  
      The location of the Velocity toolbox y|!%C-P  
      velocity工具盒的位置 Xui${UYN  
struts.xslt.nocache &F" Mkyf  
      Whether or not XSLT templates should not be cached yTw0\yiO  
      是否XSLT模版应该被缓存 r@+IDW.=9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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