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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 e(`r"RrQ  
36.mf_AM  
struts.action.extension F^TOLwix  
      The URL extension to use to determine if the request is meant for a Struts action G4#Yz6O  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -~lrv#5Q  
!VrBoU4<d  
struts.configuration !}1l8Y  
      The org.apache.struts2.config.Configuration implementation class y] Cx[  
        org.apache.struts2.config.Configuration接口名 ]#q$i[Y  
o$*DFvk  
struts.configuration.files CPP9=CoR37  
      A list of configuration files automatically loaded by Struts SL^%Zh/~  
      struts自动加载的一个配置文件列表 c]z^(:_>  
Ml +f3#HP  
struts.configuration.xml.reload 8 -b~p  
      Whether to reload the XML configuration or not =U:]x'g(  
      是否加载xml配置(true,false) CaoQPb*  
&;Go CU Le  
struts.continuations.package ]Rp<64I o  
      The package containing actions that use Rife continuations v{\~>1J{  
      含有actions的完整连续的package名称 |ZCv>8?n  
/\1Q :B3W  
struts.custom.i18n.resources "e29j'u!*  
      Location of additional localization properties files to load OU mZ|  
      加载附加的国际化属性文件(不包含.properties后缀) 0{?%"t\/f  
+OB&PE  
struts.custom.properties Q-U,1b  
      Location of additional configuration properties files to load _F8-4  
      加载附加的配置文件的位置 +ZBj_Vw*|  
R~N%sn  
_qQo}|/q  
struts.devMode :n x;~f  
      Whether Struts is in development mode or not SBw'z(U  
      是否为struts开发模式 ~$Z_#,|i?  
)MX%DQw  
struts.dispatcher.parametersWorkaround %U1HvmyK  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T16B2|C"Y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `X`|]mWj  
UB% ;P-RD  
struts.enable.DynamicMethodInvocation `WQpGBS_z_  
      Allows one to disable dynamic method invocation from the URL lw4#C`bx  
        允许动态方法调用 ({!*&DVu  
|txzIc.#  
struts.freemarker.manager.classname Mq6_Q07  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `]Vn[^?D  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $,T3vX]<  
gJzS,g1]  
struts.i18n.encoding i\MW'b  
      The encoding to use for localization messages m :]F &s  
      国际化信息内码 er!+QD,EM  
7G_lGV_  
struts.i18n.reload Aca ?C  
      Whether the localization messages should automatically be reloaded |C t Q  
      是否国际化信息自动加载 ):Ekf2  
s: MJ{r(s  
struts.locale U(:t$SBKy  
      The default locale for the Struts application +,9Mufh  
      默认的国际化地区信息 r8L'C  
B#4 J![BX  
struts.mapper.class H329P*P  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class yhyh\.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )#Y:Bj7H@2  
uRw%`J4H  
struts.multipart.maxSize Fd9Z7C  
      The maximize size of a multipart request (file upload) 7|?Ht]  
      multipart请求信息的最大尺寸(文件上传用) jH4Wu`r;m  
9p"';*{=  
struts.multipart.parser K%vGfQ8Er-  
      The org.apache.struts2.dispatcher.multipart. UAdj [m61  
      MultiPartRequest parser implementation for a multipart request (file upload) /B  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *P[N.5{  
h^b=  
]g9n#$|.  
struts.multipart.saveDir Y+~>9-S  
      The directory to use for storing uploaded files 2f-Or/v  
      设置存储上传文件的目录夹 cuQ=bRIb  
z.kBQ{P  
struts.objectFactory 2wgdrO|B  
      The com.opensymphony.xwork2.ObjectFactory implementation class 2{#=Ygb0  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Wy$Q!R=i  
\G1(r=fU  
struts.objectFactory.spring.autoWire /M_kJe,%  
      Whether Spring should autoWire or not oga0h'  
      是否自动绑定Spring 5wMEp" YHE  
Xc]Q_70O  
struts.objectFactory.spring.useClassCache  Qp>Q-+e0  
      Whether Spring should use its class cache or not PFeK;`[  
      是否spring应该使用自身的cache O,KlZf_B  
lnntb3q  
struts.objectTypeDeterminer ~9+\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~bJ*LM?wOP  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 gJBk&SDgtP  
R )e^H  
struts.serve.static.browserCache 885 ,3AdA  
If static content served by the Struts filter should set browser caching header properties or not 22m'+3I~Y  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 (fWQ?6[  
y]f| U-f:~  
struts.serve.static ZbcpE~<a  
      Whether the Struts filter should serve static content or not BRMR> ~k(  
      是否struts过滤器应该提供静态内容 C/pu]%n@4  
^kpu9H  
struts.tag.altSyntax Z7R+'OC  
      Whether to use the alterative syntax for the tags or not 4'# _b  
      是否可以用替代的语法替代tags OKzk\F6  
GpM_ Qp  
struts.ui.templateDir J)Td'iT(  
      The directory containing UI templates vweD{\b  
      UI templates的目录夹 =").W\,  
 6@ )bZ|  
struts.ui.theme R0mWVgoz  
      The default UI template theme (tP^F)}e5  
      默认的UI template主题 u8@>ThPD  
uc;QSVWGy8  
struts.url.http.port nyB~C7zR  
      The HTTP port used by Struts URLs Y~M  H  
      设置http端口 ]7{-HuQ8>}  
S b3@7^  
struts.url.https.port uw@|Y{(K r  
      The HTTPS port used by Struts URLs hC =="4 -  
      设置https端口 x;R9Gc[5  
<$ Ar*<,6  
struts.url.includeParams ub] w"N  
      The default includeParams method to generate Struts URLs ;q$O^r~  
      在url中产生 默认的includeParams 1e^-_Bo6'o  
(wIpq<%  
K<+h/Ok  
struts.velocity.configfile nS1 D&;#Y  
      The Velocity configuration file path {%b-~& F9  
      velocity配置文件路径 th*E"@  
JEes'H}Y  
struts.velocity.contexts z '%Vy  
      List of Velocity context names ];go?.*C  
      velocity的context列表 XX(;,[(_  
?Yp: h  
1cdM^k  
struts.velocity.manager.classname C,D~2G  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z5o6RTi  
      org.apache.struts2.views.velocity.VelocityManager接口名 #yVY! +A  
izi=`;=D^  
struts.velocity.toolboxlocation `W8dayZt  
      The location of the Velocity toolbox : LI*#~'Ka  
      velocity工具盒的位置 f/qG:yTV`  
struts.xslt.nocache b=+'i  
      Whether or not XSLT templates should not be cached f"5vpU^5*  
      是否XSLT模版应该被缓存 Tce2]"^;  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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