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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 x}B3h9]  
grrM[Y7#~b  
struts.action.extension LD/NMb  
      The URL extension to use to determine if the request is meant for a Struts action lub_2Cb|j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Q #IlUo  
x4v@o?zW  
struts.configuration fRh}n ^X  
      The org.apache.struts2.config.Configuration implementation class ZD~ra7  
        org.apache.struts2.config.Configuration接口名 {9B"'65o  
:8=7)cW  
struts.configuration.files j]P'xrWl]8  
      A list of configuration files automatically loaded by Struts (X zy~l<  
      struts自动加载的一个配置文件列表 <x-7MU&  
/0CS2mLC  
struts.configuration.xml.reload *!NxtB!LC  
      Whether to reload the XML configuration or not {#y~ Qk;T  
      是否加载xml配置(true,false) x18(}4  
XtCG.3(LY  
struts.continuations.package 5v5)vv.kd  
      The package containing actions that use Rife continuations p4-UW;Xu  
      含有actions的完整连续的package名称 n37P$0  
Q ?xA))0  
struts.custom.i18n.resources [3D*DyQt  
      Location of additional localization properties files to load XSHK7vpMf  
      加载附加的国际化属性文件(不包含.properties后缀) N(s5YX7<hd  
wAD%1;  
struts.custom.properties YpJJ]Rszg  
      Location of additional configuration properties files to load VDT.L,9  
      加载附加的配置文件的位置 =hY9lxW  
,i)wS1@  
zCji]:  
struts.devMode g|TWoRx:  
      Whether Struts is in development mode or not 3Zdwt\OQ  
      是否为struts开发模式 FdGnNDl*e  
?mwa6]  
struts.dispatcher.parametersWorkaround -kzp >=  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }i._&x`):  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _$+BYK@  
 gx9=L&=d  
struts.enable.DynamicMethodInvocation ij5|P4Eka  
      Allows one to disable dynamic method invocation from the URL Nnx dO0X  
        允许动态方法调用 B_mT[)ut  
{ k>T*/  
struts.freemarker.manager.classname ;&c9!LfP  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xciwKIpS  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 L8,/  
0@yw#.j  
struts.i18n.encoding Q@ua G,6  
      The encoding to use for localization messages >npTUOGL=n  
      国际化信息内码 (1e,9!?  
O!se-h5mW8  
struts.i18n.reload MFeY}_d<  
      Whether the localization messages should automatically be reloaded fU<_bg  
      是否国际化信息自动加载 >=1Aa,_tc  
U3u j`Oq  
struts.locale y**YFQ*sc  
      The default locale for the Struts application 7bk`u'0%  
      默认的国际化地区信息 %/oeV;D  
Cz|F%>y#  
struts.mapper.class NK\0X5##.  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;F|8#! (  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 nvB< pSm  
s+t[{i4|  
struts.multipart.maxSize Gv&%cq1  
      The maximize size of a multipart request (file upload) ,n{R,]y\  
      multipart请求信息的最大尺寸(文件上传用) &6e A.  
.;F%k,!v  
struts.multipart.parser m$bYx~K  
      The org.apache.struts2.dispatcher.multipart. t|P+^SL  
      MultiPartRequest parser implementation for a multipart request (file upload) 6L"b O'_5K  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !&},h=  
G5hf m-  
f cnv[B..{  
struts.multipart.saveDir jr(|-!RVMN  
      The directory to use for storing uploaded files < &kl:|  
      设置存储上传文件的目录夹 +2+|zXmT  
oT0:Ny  
struts.objectFactory J@A^k1B  
      The com.opensymphony.xwork2.ObjectFactory implementation class Qe =8x7oIP  
      com.opensymphony.xwork2.ObjectFactory接口(spring) kho$At)V  
;b}cn!U]  
struts.objectFactory.spring.autoWire (3WK2IM^  
      Whether Spring should autoWire or not !i_~<6Wa7  
      是否自动绑定Spring  {b|V;/  
Q[c:A@oW  
struts.objectFactory.spring.useClassCache B[~Q0lPih  
      Whether Spring should use its class cache or not s.^+y7$  
      是否spring应该使用自身的cache Th X6e  
cJ\ 1ndBH  
struts.objectTypeDeterminer vRb7=fXf  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class lWDSF]ZYV  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [Lcy &+  
VIaj])m  
struts.serve.static.browserCache (&-I-#i  
If static content served by the Struts filter should set browser caching header properties or not fu iTy72  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 D+u\ORj  
E~c>j<'-"<  
struts.serve.static WMS~Bk+!  
      Whether the Struts filter should serve static content or not %GP`H/H(  
      是否struts过滤器应该提供静态内容 _\<TjGtG  
=om<*\vsO  
struts.tag.altSyntax +&r=XJ5:`p  
      Whether to use the alterative syntax for the tags or not =gC% =  
      是否可以用替代的语法替代tags Tol V3  
/[5\T2GI   
struts.ui.templateDir _yp<#q]  
      The directory containing UI templates 1,Jy+1G0w  
      UI templates的目录夹 >y+?Sz!  
ymn@1BA8J  
struts.ui.theme Yfx?3  
      The default UI template theme liBFx6\"S  
      默认的UI template主题 Wr@q+Whq  
z SjZTA/Z  
struts.url.http.port Z+=WICI/2  
      The HTTP port used by Struts URLs >,.\`.0  
      设置http端口 '|}H ,I{  
/.(~=6o5  
struts.url.https.port dt0(04  
      The HTTPS port used by Struts URLs l,5isq ;m  
      设置https端口 n\< uT1n  
}zIWagC6  
struts.url.includeParams )Y`ybADd3  
      The default includeParams method to generate Struts URLs Bjh8uW G  
      在url中产生 默认的includeParams 1)5/a5  
ju!V1ky  
G.r =fNP  
struts.velocity.configfile 411z -aS  
      The Velocity configuration file path IH`7ou{  
      velocity配置文件路径 !C(PfsrR/  
7X8*7'.2  
struts.velocity.contexts "MD 6<H  
      List of Velocity context names A@;{ #.O  
      velocity的context列表 e:K'e2  
0$i\/W+  
If8Lt}-  
struts.velocity.manager.classname ]z]=?;ty%  
      org.apache.struts2.views.velocity.VelocityManager implementation class `4e| I.`^r  
      org.apache.struts2.views.velocity.VelocityManager接口名 Y5y7ONcn  
ix38|G9U  
struts.velocity.toolboxlocation qeC^e}h  
      The location of the Velocity toolbox oN)I3wO$  
      velocity工具盒的位置 EN__C$  
struts.xslt.nocache G5lBCm   
      Whether or not XSLT templates should not be cached fm$Qd^E|e  
      是否XSLT模版应该被缓存 !^EA}N.u  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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