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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 < h#7;o  
HsYzIQLL  
struts.action.extension C]Fw*t   
      The URL extension to use to determine if the request is meant for a Struts action ;>2-  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 koT3~FK  
P?q HzNGi7  
struts.configuration @{b5x>KX  
      The org.apache.struts2.config.Configuration implementation class v9H t~\>  
        org.apache.struts2.config.Configuration接口名  B=*0  
IiniaVuQ  
struts.configuration.files <%.%q  
      A list of configuration files automatically loaded by Struts te[uAJ1 N  
      struts自动加载的一个配置文件列表 O^\:J 2I(  
<N<0?GQ  
struts.configuration.xml.reload W!HjO;  
      Whether to reload the XML configuration or not (ORbhjl  
      是否加载xml配置(true,false) EPW4 h/I  
hRXnig{;3  
struts.continuations.package  @N '_qu  
      The package containing actions that use Rife continuations ;uAh)|;S#  
      含有actions的完整连续的package名称 >e;jGk?-  
ZN H-0mk  
struts.custom.i18n.resources h<LS`$PK;E  
      Location of additional localization properties files to load Zsapu1HoL\  
      加载附加的国际化属性文件(不包含.properties后缀) lrc%GU):  
k% \;$u=%  
struts.custom.properties :sw5@JdJ  
      Location of additional configuration properties files to load D?y-Y  
      加载附加的配置文件的位置 wxB HlgK4z  
s:'>G;p  
>&HW6 c  
struts.devMode 8L:AmpQdpA  
      Whether Struts is in development mode or not |?jgjn&RQ  
      是否为struts开发模式 `<>#;%  
}o]}R#|  
struts.dispatcher.parametersWorkaround A)~ oD_ooQ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;F1y!h67<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) xpp nBnu$7  
+8ib928E  
struts.enable.DynamicMethodInvocation $G <r2lPy  
      Allows one to disable dynamic method invocation from the URL [<i3l'V/[  
        允许动态方法调用 5 `TMqrk  
M>=@Z*u/+  
struts.freemarker.manager.classname ZzK^ bNx)0  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :kcqf,7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 g:RS7od=,  
6v{&,q  
struts.i18n.encoding fahQ^#&d`  
      The encoding to use for localization messages rZ,3:x-:  
      国际化信息内码 Uy=yA  
>7@,,~3  
struts.i18n.reload YCP D+  
      Whether the localization messages should automatically be reloaded ta.Lq8/  
      是否国际化信息自动加载 KiG19R$  
CV HKP[-  
struts.locale %wl:>9]  
      The default locale for the Struts application dSjO 12b  
      默认的国际化地区信息 7_36xpw  
gHh (QRA  
struts.mapper.class "E7<S5 cr  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >lmqPuf  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 aVHID{Gf Z  
tWl' )^  
struts.multipart.maxSize P_jav 0j7g  
      The maximize size of a multipart request (file upload) fph+ 05.%  
      multipart请求信息的最大尺寸(文件上传用) ^+%bh/2_W  
r[):'ys,C  
struts.multipart.parser =M:Po0?0E  
      The org.apache.struts2.dispatcher.multipart. fiC0'4.,  
      MultiPartRequest parser implementation for a multipart request (file upload) ?v,c)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) tMdSdJ8  
;R&W#Q7>3  
|63uoRr  
struts.multipart.saveDir ~9rNP{+  
      The directory to use for storing uploaded files D4"<suU|.  
      设置存储上传文件的目录夹 Otr=+i ZI  
:?EZ\WM7  
struts.objectFactory Lm!]m\LRZD  
      The com.opensymphony.xwork2.ObjectFactory implementation class k]gPMhe  
      com.opensymphony.xwork2.ObjectFactory接口(spring) U`N?<zm<oO  
e`a4Gr  
struts.objectFactory.spring.autoWire CUdpT$$x3  
      Whether Spring should autoWire or not .>,Y |  
      是否自动绑定Spring _3u3b/%J?  
`Gxb98h/r  
struts.objectFactory.spring.useClassCache 3,Z;J5VL4!  
      Whether Spring should use its class cache or not ~9@527m<',  
      是否spring应该使用自身的cache U*N{H$ACuR  
T/u61}'U{  
struts.objectTypeDeterminer m{>"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class x| D|d}  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |,KsJ2hD  
(' %Y3z;  
struts.serve.static.browserCache [V /f{y~ {  
If static content served by the Struts filter should set browser caching header properties or not )6"p@1\u  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 BGVnL}0  
GLub5GrxR  
struts.serve.static =MJRQ V67  
      Whether the Struts filter should serve static content or not k 5% )  
      是否struts过滤器应该提供静态内容 S_*Gv O  
rpEIDhHv  
struts.tag.altSyntax 2T%sHp~qt  
      Whether to use the alterative syntax for the tags or not e6J>qwD?  
      是否可以用替代的语法替代tags kDJqT  
|61ns6i!  
struts.ui.templateDir 4TQmEM,  
      The directory containing UI templates Dg~m}La  
      UI templates的目录夹 Q<szH1-  
,d!@5d&Zi  
struts.ui.theme Qhe<(<^J,  
      The default UI template theme IuFr:3(  
      默认的UI template主题 TUGD!b{  
82)=#ye_P  
struts.url.http.port X?ZLmP7|  
      The HTTP port used by Struts URLs US's`Ehx  
      设置http端口 *>2FcoN;  
X%99@qv  
struts.url.https.port v}5YUM0H`  
      The HTTPS port used by Struts URLs m' j1  
      设置https端口 g>7i2  
"tO m  
struts.url.includeParams %Y/;jC Y  
      The default includeParams method to generate Struts URLs bFG?mG:  
      在url中产生 默认的includeParams {[bpvK  
pi70^`@'B  
[Djx@x  
struts.velocity.configfile L|D9+u L  
      The Velocity configuration file path npytb*[|c  
      velocity配置文件路径 zSMM?g^T  
&&jQ4@m}j  
struts.velocity.contexts 39[ylR|\  
      List of Velocity context names 2ER_?y  
      velocity的context列表 >'m&/&h  
2u0B=0x  
q$H@W. f  
struts.velocity.manager.classname AL&<SxuP  
      org.apache.struts2.views.velocity.VelocityManager implementation class :%28*fl  
      org.apache.struts2.views.velocity.VelocityManager接口名 jL)Y'  
5Uhxl^c  
struts.velocity.toolboxlocation A#Ga!a  
      The location of the Velocity toolbox Pec40g:#F  
      velocity工具盒的位置 uARkf'  
struts.xslt.nocache N*PJ m6-  
      Whether or not XSLT templates should not be cached 3,!IV"_  
      是否XSLT模版应该被缓存 vN]_/T+  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五