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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 i$Ul(?  
}{Pp]*I<A  
struts.action.extension -OV&Md:~  
      The URL extension to use to determine if the request is meant for a Struts action gb1V~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2Ah#<k-gC;  
{p2!|A&a  
struts.configuration l$KA)xbI  
      The org.apache.struts2.config.Configuration implementation class t 9lPb_70  
        org.apache.struts2.config.Configuration接口名 FaAC&F@u  
MpT8" /.]A  
struts.configuration.files )$2QZ qX  
      A list of configuration files automatically loaded by Struts hgG9m[?K  
      struts自动加载的一个配置文件列表 M-VX;/&FR  
"nynl'Ryk  
struts.configuration.xml.reload 2k~l$p>CN!  
      Whether to reload the XML configuration or not sI=xl  
      是否加载xml配置(true,false) AYBns]!  
[jQp~&nY  
struts.continuations.package VD*6g%p  
      The package containing actions that use Rife continuations x8 2cT21b  
      含有actions的完整连续的package名称 h'llK6_)  
9c bd~mM{  
struts.custom.i18n.resources h,:m~0gmj  
      Location of additional localization properties files to load ]h`&&Bqt  
      加载附加的国际化属性文件(不包含.properties后缀) .vf'YNQ%  
>58YjLXb  
struts.custom.properties [>I<#_^~  
      Location of additional configuration properties files to load l:~/<`o  
      加载附加的配置文件的位置 J3V= 46Yc  
uo9B9"&  
ELoDd&d8  
struts.devMode !/b>sN}  
      Whether Struts is in development mode or not n` _{9R  
      是否为struts开发模式 ,&A7iO  
RMV/&85?y  
struts.dispatcher.parametersWorkaround [\e eDa  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Z?q] bSIT  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) C}j"Qi`  
N{!i=A  
struts.enable.DynamicMethodInvocation {lzWrUGO  
      Allows one to disable dynamic method invocation from the URL KfEx"94  
        允许动态方法调用 Y1\}5k{>  
&&8x%Pml  
struts.freemarker.manager.classname B:Oa}/H   
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #P9~}JB3,  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )u&|_&g{}J  
d'gfQlDny  
struts.i18n.encoding nF]W,@u"h  
      The encoding to use for localization messages NN{?z!  
      国际化信息内码 yPBZc h%-  
.NC!7+1m  
struts.i18n.reload Tk[ $5u*,  
      Whether the localization messages should automatically be reloaded !PlEO 2at  
      是否国际化信息自动加载 Dj?> <@  
[85spub&}  
struts.locale ( $MlXBI  
      The default locale for the Struts application @gEUm_#HTs  
      默认的国际化地区信息 D/gw .XYL  
.hb:s,0mP  
struts.mapper.class 5 V~oIL  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C 82omL  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 3ZPWze6  
Y5Bo|*b  
struts.multipart.maxSize O:R*rJ  
      The maximize size of a multipart request (file upload) 2a)xTA#  
      multipart请求信息的最大尺寸(文件上传用) s\(k<Ks  
1-uxC^u?|#  
struts.multipart.parser 76Cl\rV  
      The org.apache.struts2.dispatcher.multipart. :S83vE81WK  
      MultiPartRequest parser implementation for a multipart request (file upload) eKgBy8tNS0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4Z=_,#h4.  
tS5hv@9cWx  
`?rSlR@+[I  
struts.multipart.saveDir U}[d_f  
      The directory to use for storing uploaded files NNR`!Pty  
      设置存储上传文件的目录夹 |s(FLF-  
uAq~=)F>,  
struts.objectFactory ua$GNm  
      The com.opensymphony.xwork2.ObjectFactory implementation class e]"W!K cD9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Fyx|z'4b  
{4}yKjW%z  
struts.objectFactory.spring.autoWire pj{`'; :g  
      Whether Spring should autoWire or not =ho}oL,ZO  
      是否自动绑定Spring wssRA?9<  
n)-$e4u2  
struts.objectFactory.spring.useClassCache {6|G@ ""O  
      Whether Spring should use its class cache or not %XDc,AR[  
      是否spring应该使用自身的cache HZB>{O  
xrz,\eTb  
struts.objectTypeDeterminer aiUY>M#|  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class TER=*"!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /9*B)m"  
$9#H04.x  
struts.serve.static.browserCache n ATuD  
If static content served by the Struts filter should set browser caching header properties or not z, )6"/;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7kLz[N6Ll  
6vo;!V6  
struts.serve.static }OR@~V{Gj  
      Whether the Struts filter should serve static content or not @})|Z}~  
      是否struts过滤器应该提供静态内容 ]@c+]{  
x"=f+Mr  
struts.tag.altSyntax wk D^r(hiH  
      Whether to use the alterative syntax for the tags or not r'r%w#=`t  
      是否可以用替代的语法替代tags :{v#'U/^  
LgU_LcoM*  
struts.ui.templateDir 6 7.+ .2  
      The directory containing UI templates [Td4K.c  
      UI templates的目录夹 `pa!~|p  
6r0krbN  
struts.ui.theme %D34/=(X  
      The default UI template theme KeB"D!={;  
      默认的UI template主题 WRbj01v  
BLdvyVFx  
struts.url.http.port ]i)c{y  
      The HTTP port used by Struts URLs B\=8_z  
      设置http端口 (!aNq(   
T^t# c  
struts.url.https.port drP=A~?&:  
      The HTTPS port used by Struts URLs %QGC8Tz  
      设置https端口 m+R[#GE8#  
gQg"j)  
struts.url.includeParams py!|\00}  
      The default includeParams method to generate Struts URLs ~s*)f.l  
      在url中产生 默认的includeParams X6X $Pve  
)gIKH{JYL  
^WgX Qtn  
struts.velocity.configfile +b<FO+E_  
      The Velocity configuration file path $E~`\o%Ev  
      velocity配置文件路径 _\G"9,)u '  
7M!I8C0!aO  
struts.velocity.contexts HxV=F66"  
      List of Velocity context names XGWSdPJLr  
      velocity的context列表 9'giU r  
W=><)miQ@  
@7]yl&LZ  
struts.velocity.manager.classname oy=js -  
      org.apache.struts2.views.velocity.VelocityManager implementation class w^|*m/h|@u  
      org.apache.struts2.views.velocity.VelocityManager接口名 VcO0sa f`  
61>.vT8P  
struts.velocity.toolboxlocation GL#up  
      The location of the Velocity toolbox 8@Q$'TT6}  
      velocity工具盒的位置 mbxZL<ua  
struts.xslt.nocache C.yQ=\U2  
      Whether or not XSLT templates should not be cached HGs $*  
      是否XSLT模版应该被缓存 XbKYiy  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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