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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Pko2fJt1  
SGK=WLGM8  
struts.action.extension F4$N:J kl  
      The URL extension to use to determine if the request is meant for a Struts action s;NPY  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 XkE'k;AEx  
tIJ?caX5=  
struts.configuration 2 ,bLEhu  
      The org.apache.struts2.config.Configuration implementation class 6O9?":3;  
        org.apache.struts2.config.Configuration接口名 ;c;5O@R}3  
S(MVL!Lm  
struts.configuration.files x}(p\Efx  
      A list of configuration files automatically loaded by Struts 1 ^q~NYTK  
      struts自动加载的一个配置文件列表 trAIh}Dj  
KH_~DZU*5  
struts.configuration.xml.reload eT<T[; m  
      Whether to reload the XML configuration or not \&#pJBBG  
      是否加载xml配置(true,false) 3<vw#]yL  
n |Is&fy  
struts.continuations.package )cUFb:D*"  
      The package containing actions that use Rife continuations >ngP\&\  
      含有actions的完整连续的package名称 {S 2? }  
KB6'sj  
struts.custom.i18n.resources o n+:{ad  
      Location of additional localization properties files to load N{o3w.g  
      加载附加的国际化属性文件(不包含.properties后缀) E>2~cC*  
!b:;O +[  
struts.custom.properties cZd{K[fuK  
      Location of additional configuration properties files to load /ltGSl  
      加载附加的配置文件的位置 G j9WUv[P  
WK)2/$7@  
;E0aTV)Zp  
struts.devMode :3$$PdZ  
      Whether Struts is in development mode or not ,MRAEa2  
      是否为struts开发模式 4,.B#: 8  
<~ 9a3c?  
struts.dispatcher.parametersWorkaround nPh| rW=  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ER4j=O#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,4`=gKn  
QO|roE  
struts.enable.DynamicMethodInvocation }_ [Bp  
      Allows one to disable dynamic method invocation from the URL [l%6wIP&{  
        允许动态方法调用 //W7$DYEG  
1GA$nFBVC  
struts.freemarker.manager.classname F9\T <  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class m.0: R  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,rZp(moj  
"T+oXK\B  
struts.i18n.encoding o1B8_$aYgc  
      The encoding to use for localization messages hJsYKd8g  
      国际化信息内码 vD@ =V#T  
L%sskV(  
struts.i18n.reload D <SLv,Y  
      Whether the localization messages should automatically be reloaded CQGq}.Jt!  
      是否国际化信息自动加载 Q`* v|Lp  
U 4Sxr  
struts.locale b!hs|emo;  
      The default locale for the Struts application {6,  l#z  
      默认的国际化地区信息 Aq~}<qkIF+  
/6@~XO) w  
struts.mapper.class jXu)%<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class /CW 0N@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 d} {d5-_a  
!da [#zK  
struts.multipart.maxSize ']]5xH*U  
      The maximize size of a multipart request (file upload) sH_5.+,`  
      multipart请求信息的最大尺寸(文件上传用) Z&w/JP?  
` <3xi9  
struts.multipart.parser /yhGc}h  
      The org.apache.struts2.dispatcher.multipart. Jq8CII  
      MultiPartRequest parser implementation for a multipart request (file upload) $MPh\T  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) KbP( ;  
Iq%f*Zm<  
FWu[{X;  
struts.multipart.saveDir T|fmO<e*n  
      The directory to use for storing uploaded files zJ9[),;7B  
      设置存储上传文件的目录夹 :1/K$A)^{  
kafRuO~$  
struts.objectFactory d=J$H<  
      The com.opensymphony.xwork2.ObjectFactory implementation class C[0*>W8o  
      com.opensymphony.xwork2.ObjectFactory接口(spring) byrK``f  
M`jqU g  
struts.objectFactory.spring.autoWire ,|u^-J@  
      Whether Spring should autoWire or not %hnv go:^g  
      是否自动绑定Spring gp`H>Sn.|  
"?r=n@Kv  
struts.objectFactory.spring.useClassCache 45+w)Vf!  
      Whether Spring should use its class cache or not @s[Vtw%f  
      是否spring应该使用自身的cache #Y9'n0 AL  
qT}AY.O%^  
struts.objectTypeDeterminer M!Hn`_E  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Eh{]so  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 dYP-QUM$7  
W:z?w2{VI(  
struts.serve.static.browserCache `5$B"p&i  
If static content served by the Struts filter should set browser caching header properties or not *RpBKm&^7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /xseI)y.B  
wAn}ic".b  
struts.serve.static WhU-^`[*  
      Whether the Struts filter should serve static content or not ZBX,4kxK7  
      是否struts过滤器应该提供静态内容 YN<:k Wu  
Q;EQ8pL?"  
struts.tag.altSyntax a9<&|L <  
      Whether to use the alterative syntax for the tags or not :p6.v>s8  
      是否可以用替代的语法替代tags bm Hl\?  
;WG6|QgV?-  
struts.ui.templateDir 6.|Q yk*  
      The directory containing UI templates wy)I6`v  
      UI templates的目录夹 ?oKY"C8/  
h_{//W[  
struts.ui.theme nm3/-Q},  
      The default UI template theme xdqiogue  
      默认的UI template主题 D%k`udz<  
&N^^[ uG  
struts.url.http.port COC6H'F  
      The HTTP port used by Struts URLs :kMEL*  
      设置http端口 Wdp?<U  
2S`D7R#6s  
struts.url.https.port vI)-Zz[3  
      The HTTPS port used by Struts URLs J#L"kz  
      设置https端口 M1sR+e$"  
p~h)@  
struts.url.includeParams ={GYJ. *Ah  
      The default includeParams method to generate Struts URLs ejID5NqG  
      在url中产生 默认的includeParams t(,_  
c(tX761qz  
E@%X  
struts.velocity.configfile w)u6J ,  
      The Velocity configuration file path D-GIrw{>5  
      velocity配置文件路径 `z?6.+C  
x9&{@ ?o  
struts.velocity.contexts :^Ouv1!e1  
      List of Velocity context names TAl#V 7PF}  
      velocity的context列表 *;]j#0  
pjI< cQ&  
Fo0dz  
struts.velocity.manager.classname /6$8djw  
      org.apache.struts2.views.velocity.VelocityManager implementation class ZV?~~_ 9  
      org.apache.struts2.views.velocity.VelocityManager接口名 .S{Q }S  
#UO#kC<2(B  
struts.velocity.toolboxlocation Ig*qn# Dd  
      The location of the Velocity toolbox G{8>  
      velocity工具盒的位置 8D[,z 7n  
struts.xslt.nocache n%"0%A  
      Whether or not XSLT templates should not be cached S@N:Cj  
      是否XSLT模版应该被缓存 y_mD9bgW  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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