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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Yma-$ytp  
tE$oV  
struts.action.extension ,7n8_pU  
      The URL extension to use to determine if the request is meant for a Struts action i$g6C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 sHPK8Wsg  
}08Sv=XM  
struts.configuration vWZ?*0^  
      The org.apache.struts2.config.Configuration implementation class hbSXa'  
        org.apache.struts2.config.Configuration接口名 @M)"  
p_EWpSOt7  
struts.configuration.files Q- }cB  
      A list of configuration files automatically loaded by Struts  *s%M!YM  
      struts自动加载的一个配置文件列表 >*1YL)DBT\  
iTVepYv4m  
struts.configuration.xml.reload LJwy,-  
      Whether to reload the XML configuration or not IWT -)+  
      是否加载xml配置(true,false) I~&*8)xM  
CTf39R|7_  
struts.continuations.package zxrbEE Q  
      The package containing actions that use Rife continuations We@wN:  
      含有actions的完整连续的package名称 `OHdo$Y9  
h%ba!  
struts.custom.i18n.resources KSR'X0'  
      Location of additional localization properties files to load %g7B*AX]  
      加载附加的国际化属性文件(不包含.properties后缀) RwoAZ]Zg]  
-cB>; f)5r  
struts.custom.properties 0[92&:c,  
      Location of additional configuration properties files to load ZJOO*S  
      加载附加的配置文件的位置 OP98sd&T  
bb!cZ >Z  
nyx(0  
struts.devMode Og:aflS  
      Whether Struts is in development mode or not _53N uEM1  
      是否为struts开发模式 h9cx~/7,_)  
dG%{&W9  
struts.dispatcher.parametersWorkaround zC WN,K`  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic yC9~X='D  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) HEs.pET\  
+|.6xC7U  
struts.enable.DynamicMethodInvocation $c];&)7q  
      Allows one to disable dynamic method invocation from the URL >]/aG!  
        允许动态方法调用 w!/|aZ~*  
HC RmW'  
struts.freemarker.manager.classname ?dQ#%06mn  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class r^+n06[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 */ok]kX'  
mO @Sl(9  
struts.i18n.encoding ;s w3MRJ  
      The encoding to use for localization messages 1zIrU6H2;_  
      国际化信息内码 %P`|kPW1  
 4FcY NJq  
struts.i18n.reload vU!<-T#  
      Whether the localization messages should automatically be reloaded Vv.q{fRvYB  
      是否国际化信息自动加载 4/QQX;w  
eS;W>d  
struts.locale E>NL/[1d  
      The default locale for the Struts application |&\cr\T\r  
      默认的国际化地区信息 i&zJwUr(<  
xwZ7I  
struts.mapper.class Ku;8Mx{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class TuMD+^x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \j~LxV  
Yf[GpSej  
struts.multipart.maxSize W*Ce1  
      The maximize size of a multipart request (file upload) ZO!)G   
      multipart请求信息的最大尺寸(文件上传用) e(EXQP2P>  
k+As#7V  
struts.multipart.parser :~B'6b  
      The org.apache.struts2.dispatcher.multipart. 4e9'yi  
      MultiPartRequest parser implementation for a multipart request (file upload) .> |]Lo(=l  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P:tl)ob  
I cz) Qtg|  
Czt>?8x`  
struts.multipart.saveDir UZ3oc[#D=]  
      The directory to use for storing uploaded files *Q:EICDE7  
      设置存储上传文件的目录夹 7|$ H}$  
UY*[='l!)  
struts.objectFactory 2:D1<z6RQ  
      The com.opensymphony.xwork2.ObjectFactory implementation class ]{E{ IW8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7EukrE<b'  
'X1fb:8m8  
struts.objectFactory.spring.autoWire ,K[}Bz  
      Whether Spring should autoWire or not _+x&[^gjP  
      是否自动绑定Spring 4f{(Scg  
pm~uWXqxr=  
struts.objectFactory.spring.useClassCache 4.0JgX  
      Whether Spring should use its class cache or not Ex3V[v+D(  
      是否spring应该使用自身的cache >XiTl;UU  
7s-ZRb[)1  
struts.objectTypeDeterminer LG3:V'|  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class b|z_1j6U  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ZsikI@?  
< &~KYu\r  
struts.serve.static.browserCache ;*_U)th  
If static content served by the Struts filter should set browser caching header properties or not h>[][c(b  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }^Kye23  
tlz)V1L  
struts.serve.static e.:SBXZ  
      Whether the Struts filter should serve static content or not <!M ab}  
      是否struts过滤器应该提供静态内容 B)cVbjTn  
$VLCD  
struts.tag.altSyntax fooQqWC)  
      Whether to use the alterative syntax for the tags or not yhi6RDS  
      是否可以用替代的语法替代tags +8etCx  
xX]92Q  
struts.ui.templateDir a;$'A[hq  
      The directory containing UI templates sTALOL<  
      UI templates的目录夹 Yh}F  
,awp)@VG7  
struts.ui.theme P6cc8x9g(  
      The default UI template theme ZHku3)V=o  
      默认的UI template主题 M)oJ06`K  
z|gG%fM  
struts.url.http.port ? m$7)@p  
      The HTTP port used by Struts URLs ^,.G<2Kx&  
      设置http端口 z a^s%^:yK  
I3ZbHb-)_,  
struts.url.https.port )=)=]|3  
      The HTTPS port used by Struts URLs "T_OLegdK  
      设置https端口 /:j9 #kj  
C/!c?$J  
struts.url.includeParams `RG_FS"v  
      The default includeParams method to generate Struts URLs E'g2<k  
      在url中产生 默认的includeParams q3s +?&  
S2jO  
EFg s}BV_9  
struts.velocity.configfile L8FLHT+R-  
      The Velocity configuration file path /}Z0\ ,  
      velocity配置文件路径 /{~cUB,Um  
'5mzlR  
struts.velocity.contexts zmxrz[  
      List of Velocity context names D* oJz3[  
      velocity的context列表 EQ j2:9f  
]qJ6#sAw75  
79>8tOuo  
struts.velocity.manager.classname ?V}AwLX}  
      org.apache.struts2.views.velocity.VelocityManager implementation class T&2aNkuG  
      org.apache.struts2.views.velocity.VelocityManager接口名 myj^c>1Iz  
0-^wY8n-=  
struts.velocity.toolboxlocation l|[8'*]r!  
      The location of the Velocity toolbox GMZj@q  
      velocity工具盒的位置 b (,X3x*  
struts.xslt.nocache z.9 #AN=&[  
      Whether or not XSLT templates should not be cached $cLtAo^W  
      是否XSLT模版应该被缓存 ,'CDKzY  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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