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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 r/E;tm [\  
-<gGNj.x-  
struts.action.extension |0?h6  
      The URL extension to use to determine if the request is meant for a Struts action Y~T;{&wi  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K.cMuh  
H|4O`I;~(  
struts.configuration ]q0mo1-EZ!  
      The org.apache.struts2.config.Configuration implementation class 5FJ<y"<6  
        org.apache.struts2.config.Configuration接口名 3,8>\yf`  
?|8H|LBIr  
struts.configuration.files ^+zF;Q'  
      A list of configuration files automatically loaded by Struts  _2VL%  
      struts自动加载的一个配置文件列表 (~P b,Q  
5!r?U  
struts.configuration.xml.reload !M&L<0b:7e  
      Whether to reload the XML configuration or not cn$E?&-  
      是否加载xml配置(true,false) /O1r=lv3Z  
AF4:v<EN  
struts.continuations.package (^'TT>2B  
      The package containing actions that use Rife continuations /s3AZ j9  
      含有actions的完整连续的package名称 m$xL#omD  
-MV</  
struts.custom.i18n.resources UdmYS3zs  
      Location of additional localization properties files to load YFD'&N,sx  
      加载附加的国际化属性文件(不包含.properties后缀) 7z'l}*FRD  
K.?~@5%  
struts.custom.properties ?Gc9^b B I  
      Location of additional configuration properties files to load LlP_`fA  
      加载附加的配置文件的位置 oHkF>B [  
agqB#,i  
XSkN9LqZ  
struts.devMode (MiEXU~v  
      Whether Struts is in development mode or not j?ihUNY!+  
      是否为struts开发模式 -b "7WBl  
;7"}I  
struts.dispatcher.parametersWorkaround ^w.x~#zI  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *ktM<N58  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |?n=~21"1O  
'v.i' 6  
struts.enable.DynamicMethodInvocation  $9dm2#0d  
      Allows one to disable dynamic method invocation from the URL D.H$4[u;j  
        允许动态方法调用 wt4uzg8  
|;o#-YosP  
struts.freemarker.manager.classname 9"g=it2Rh6  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,vEwck#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 .7TQae%  
> $0eRVL  
struts.i18n.encoding h_ef@ZwSw  
      The encoding to use for localization messages TJ3CXyRq  
      国际化信息内码 o0b}:`  
Yhl {'  
struts.i18n.reload 3Xgf=yG:M  
      Whether the localization messages should automatically be reloaded rK W<kQT  
      是否国际化信息自动加载 AAjsb<P  
6'UtB!gr  
struts.locale {yQeLION  
      The default locale for the Struts application %"~\Pu*>  
      默认的国际化地区信息 /T`L;YE  
"Zd4e2>{M\  
struts.mapper.class uM,bO*/f  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6/@"K HHVe  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Bi9b"*LN  
w*`5b!+/  
struts.multipart.maxSize ru,]!YPJE2  
      The maximize size of a multipart request (file upload) 'awL!P--  
      multipart请求信息的最大尺寸(文件上传用) /w0l7N  
O;c;>x_dA  
struts.multipart.parser pIdJ+gu(s  
      The org.apache.struts2.dispatcher.multipart. |[n-H;0  
      MultiPartRequest parser implementation for a multipart request (file upload) O7|0t\)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Kl<qp7o0  
:9N~wd  
{7 &(2Z]z  
struts.multipart.saveDir deSrs:.  
      The directory to use for storing uploaded files elCDPZTf  
      设置存储上传文件的目录夹 `T2RaWR4=  
Mi&,64<  
struts.objectFactory =s`\W7/;{-  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1UX"iO x(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 59gt#1k  
ALS\}_8  
struts.objectFactory.spring.autoWire w(pLU$6X  
      Whether Spring should autoWire or not (KR$PLxDK  
      是否自动绑定Spring $lmbeW[0  
) Q\nR`k  
struts.objectFactory.spring.useClassCache f^il|Obzl  
      Whether Spring should use its class cache or not hko0 ?z  
      是否spring应该使用自身的cache az@{O4  
U.<';fKnT  
struts.objectTypeDeterminer J >Zd0Dn  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /v"u4Ipj  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 u9rlNmf$  
mMm_=cfv  
struts.serve.static.browserCache .|XIF   
If static content served by the Struts filter should set browser caching header properties or not I=X-e#HM?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Qrjo@_+w!  
J<Di2b+  
struts.serve.static preKg $U  
      Whether the Struts filter should serve static content or not yS0YWqv]6@  
      是否struts过滤器应该提供静态内容 @O9.~6  
laN:H mR8  
struts.tag.altSyntax kFmd):U!R  
      Whether to use the alterative syntax for the tags or not %7 h _D  
      是否可以用替代的语法替代tags @Y+YN;57  
IBWUXG;  
struts.ui.templateDir mY?^]3-_  
      The directory containing UI templates {#N](yUm  
      UI templates的目录夹 #UL:#pY  
uc9t0]o=h  
struts.ui.theme An cmSi  
      The default UI template theme $6.CN#  
      默认的UI template主题 8B;wn<O  
H%NIdgo}  
struts.url.http.port =jIB5".  
      The HTTP port used by Struts URLs T X.YTU  
      设置http端口 _cdrz)T  
+@[T0cXp  
struts.url.https.port s7=CH   
      The HTTPS port used by Struts URLs V8ka*VJ(B  
      设置https端口 'EoJo9p6}  
:4s{?IY)l  
struts.url.includeParams :GXiA  
      The default includeParams method to generate Struts URLs <a7y]Py  
      在url中产生 默认的includeParams \xG>>A%  
LcS\#p#s]  
J'9hzag  
struts.velocity.configfile g*69TqO^  
      The Velocity configuration file path DdDO.@-Z  
      velocity配置文件路径 ve[` 0  
xrDHXqH  
struts.velocity.contexts S 4uX utd  
      List of Velocity context names = #]^H c  
      velocity的context列表 <EFA^,3t%  
,K=\Y9l3  
8px@sXI*`  
struts.velocity.manager.classname o-\ K]  
      org.apache.struts2.views.velocity.VelocityManager implementation class j\& `  
      org.apache.struts2.views.velocity.VelocityManager接口名 c?B@XIl  
f tW-  
struts.velocity.toolboxlocation $Kgw6  
      The location of the Velocity toolbox S~L$sqt  
      velocity工具盒的位置 rC.z772y%  
struts.xslt.nocache {/`iZzPg  
      Whether or not XSLT templates should not be cached I$!rNfrs  
      是否XSLT模版应该被缓存 zhtNL_  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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