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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 K+$c,1wb  
?RzT0HRd  
struts.action.extension X9gC2iSs]  
      The URL extension to use to determine if the request is meant for a Struts action Z "=(u wM  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O.}gG6u5  
tB3CX\e  
struts.configuration \+~4t  
      The org.apache.struts2.config.Configuration implementation class 7Y*m_AhxJ  
        org.apache.struts2.config.Configuration接口名 -5 W0K}  
kL|Y-(FPo%  
struts.configuration.files I !<v$  
      A list of configuration files automatically loaded by Struts C[&&.w8Pm  
      struts自动加载的一个配置文件列表 c_a$g  
EH "g`r  
struts.configuration.xml.reload M>J ADt_]  
      Whether to reload the XML configuration or not o%QQ7S3 P  
      是否加载xml配置(true,false) HgBg,1  
*f#4S_ws`  
struts.continuations.package Y#Vy:x[  
      The package containing actions that use Rife continuations |O9=C`G_  
      含有actions的完整连续的package名称 7h0'R k  
S7q &|nI  
struts.custom.i18n.resources =GVhAzD3  
      Location of additional localization properties files to load $B?7u@>,  
      加载附加的国际化属性文件(不包含.properties后缀) D5m\u$~V  
VfcQibm  
struts.custom.properties uY~A0I5Z  
      Location of additional configuration properties files to load  ck~xj0  
      加载附加的配置文件的位置 c-=0l)&'D=  
^Q,/C8qeb  
~+C#c,Nw  
struts.devMode uRy6~'  
      Whether Struts is in development mode or not L K~,  
      是否为struts开发模式 ?mAw"Rb!  
LG|,g3&  
struts.dispatcher.parametersWorkaround c6m,oS^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic w;$+7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) qU n>  
ui{_w @o  
struts.enable.DynamicMethodInvocation {LD8ie|x1`  
      Allows one to disable dynamic method invocation from the URL KTEis!w  
        允许动态方法调用 VT7NWT J,  
"'#Hh&Us  
struts.freemarker.manager.classname \-0`%k"&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U}0/V c26  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 DS2$w9!  
JrAc]=  
struts.i18n.encoding @#tSx  
      The encoding to use for localization messages T_Y}1n|7[  
      国际化信息内码 {@$3bQ  
6<Wr 8u,  
struts.i18n.reload j[`?`RyU  
      Whether the localization messages should automatically be reloaded -*M:OF"Zh  
      是否国际化信息自动加载 P[K=']c  
m^.C(}  
struts.locale %p60pn[(  
      The default locale for the Struts application 1F,_L}=o1s  
      默认的国际化地区信息 <Y2!c,"  
fLoVcl  
struts.mapper.class ] O>7x  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class A%2}?Ds  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 uCfp+  
;/T-rVND  
struts.multipart.maxSize j2M(W/_  
      The maximize size of a multipart request (file upload) rtx]dc1m  
      multipart请求信息的最大尺寸(文件上传用) 6w;|-/:`  
)x&@j4,  
struts.multipart.parser OF/)-}!  
      The org.apache.struts2.dispatcher.multipart. q)b?X ^  
      MultiPartRequest parser implementation for a multipart request (file upload) QZox3LM1&.  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [9_ (+E[}  
Gnt!!1_8L  
uP2a\C,$  
struts.multipart.saveDir K>6k@okO  
      The directory to use for storing uploaded files s*~o%emw  
      设置存储上传文件的目录夹 3rg^R"&  
34Khg  
struts.objectFactory ~{G: ,|`  
      The com.opensymphony.xwork2.ObjectFactory implementation class c.Z4f 7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) S\;.nAR  
\=_q{  
struts.objectFactory.spring.autoWire ^(*O$N*#  
      Whether Spring should autoWire or not )6 <byO  
      是否自动绑定Spring |uBC0f  
3og$'#6P  
struts.objectFactory.spring.useClassCache H`lD@q'S  
      Whether Spring should use its class cache or not "@w%TcA  
      是否spring应该使用自身的cache E}9ldM=]s  
rI+w1';C1  
struts.objectTypeDeterminer =>\-ma+  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class So.P @CCd  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 '\B"g@if  
"nno)~)u  
struts.serve.static.browserCache _i@eOqoC  
If static content served by the Struts filter should set browser caching header properties or not B~z g"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =L),V~b  
qU*&49X  
struts.serve.static ]\,uF8gg)  
      Whether the Struts filter should serve static content or not UH-uU~  
      是否struts过滤器应该提供静态内容 {FY[|:Cp  
=e8L7_;  
struts.tag.altSyntax n o+tVm|  
      Whether to use the alterative syntax for the tags or not M.N~fSJ   
      是否可以用替代的语法替代tags S} Cp&}G{P  
gam#6 s  
struts.ui.templateDir %`1CE\f  
      The directory containing UI templates 2 RUR=%C  
      UI templates的目录夹 `Uj?PcS_  
##FNq#F  
struts.ui.theme Wo+CQH6(  
      The default UI template theme S/<"RfVU#o  
      默认的UI template主题 hdJwNmEA>  
[RPAkp  
struts.url.http.port UW[{d/.wC  
      The HTTP port used by Struts URLs 0/@ X!|X  
      设置http端口 Jhy t)@7/,  
6.h   
struts.url.https.port 7Ljj#!`lUp  
      The HTTPS port used by Struts URLs kefv=n*]l  
      设置https端口 I#E(r>KW*  
Vy^yV|`v  
struts.url.includeParams 3u0<v%Qi  
      The default includeParams method to generate Struts URLs /dJ)TW(Ir  
      在url中产生 默认的includeParams #t2UPLO~  
]ZzG!7  
q6JW@GT  
struts.velocity.configfile Xu94v{u3  
      The Velocity configuration file path Z<|_+7T  
      velocity配置文件路径 Iei7!KLW  
wEnuUC4j  
struts.velocity.contexts =ch Af=  
      List of Velocity context names ~K-*q{6Q  
      velocity的context列表 tG2OVRx8u  
' q<EZ {  
\btR^;_\A  
struts.velocity.manager.classname H]$=*(aje  
      org.apache.struts2.views.velocity.VelocityManager implementation class  ;[KriW  
      org.apache.struts2.views.velocity.VelocityManager接口名 `o8{qU,*]N  
=6Sj}/   
struts.velocity.toolboxlocation Wd` QpW  
      The location of the Velocity toolbox C nSX  
      velocity工具盒的位置 Xvj=*wg\Y  
struts.xslt.nocache f UF;SqT  
      Whether or not XSLT templates should not be cached r ctSS:1  
      是否XSLT模版应该被缓存 s |gD  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八