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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 x41t=E](  
>NpW$P{'  
struts.action.extension Y8mv[+Z  
      The URL extension to use to determine if the request is meant for a Struts action  >qI:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ZkMHy1  
(Zy=e?E,  
struts.configuration h^ K>(x  
      The org.apache.struts2.config.Configuration implementation class m|Z[8Tup  
        org.apache.struts2.config.Configuration接口名 i-k(/Y0  
7` XECIh  
struts.configuration.files </fTn_{2s8  
      A list of configuration files automatically loaded by Struts M 8mNeh  
      struts自动加载的一个配置文件列表 1-!|_<EW1  
kl&_O8E+K  
struts.configuration.xml.reload iIo>]\Pw  
      Whether to reload the XML configuration or not d7kv <YG  
      是否加载xml配置(true,false) >\5ZgC  
.R^]<b:`  
struts.continuations.package 5'0kf7  
      The package containing actions that use Rife continuations >R/^[([;]  
      含有actions的完整连续的package名称 r^\Wo7q  
0wETv  
struts.custom.i18n.resources 8,m:  
      Location of additional localization properties files to load 8H SGOs =8  
      加载附加的国际化属性文件(不包含.properties后缀) F|WH=s3  
okW'}@jD  
struts.custom.properties Pb :6nH=  
      Location of additional configuration properties files to load =gB{(  
      加载附加的配置文件的位置 G~4|]^`g  
ht5:kt`F  
)T^aJ-Uf  
struts.devMode 0ENqK2  
      Whether Struts is in development mode or not afcyAzIB&  
      是否为struts开发模式 AqrK==0N  
<DdzDbgax  
struts.dispatcher.parametersWorkaround l)0yv2[h  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Xb*>7U/'T  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6Qm .k$[  
dnX^?  
struts.enable.DynamicMethodInvocation ui^v.YCMI  
      Allows one to disable dynamic method invocation from the URL *\wf(o>Q  
        允许动态方法调用 ?Vr~~v"fg8  
]"1\z>Hg  
struts.freemarker.manager.classname j)O8&[y=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;77q~_g$  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A'? W5~F  
 PuU<  
struts.i18n.encoding Z~7}  
      The encoding to use for localization messages xWty2/!h  
      国际化信息内码 0h2MmI#  
uFi[50  
struts.i18n.reload y\[GS2nTX  
      Whether the localization messages should automatically be reloaded a% 82I::t  
      是否国际化信息自动加载 p WKpc  
&[}5yos r  
struts.locale YWa9|&m1  
      The default locale for the Struts application nHF  
      默认的国际化地区信息 Jc9^Hyqu&  
$2*&\/;-E!  
struts.mapper.class 3nkO+ qQ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 'P)[=+O?t  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 CQ%yki  
mZ t:  
struts.multipart.maxSize C;!h4l7L  
      The maximize size of a multipart request (file upload) P~*v}A  
      multipart请求信息的最大尺寸(文件上传用) c\eT`.ENk  
u]Y NF[]  
struts.multipart.parser +&TcTu#.`  
      The org.apache.struts2.dispatcher.multipart. /K#J63 ,  
      MultiPartRequest parser implementation for a multipart request (file upload) :!gzx n  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) t~]oJ5%  
%^8>=  
~;Xkt G:  
struts.multipart.saveDir I*i$!$Bx2  
      The directory to use for storing uploaded files b(gcnSzM2  
      设置存储上传文件的目录夹 m-!z(vcn  
|teDe6 \m  
struts.objectFactory k+&1?]   
      The com.opensymphony.xwork2.ObjectFactory implementation class SxCzI$SGu  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,_t}\7  
;]h:63 S  
struts.objectFactory.spring.autoWire FUTDR-q O  
      Whether Spring should autoWire or not 'r?OzFtxh  
      是否自动绑定Spring g7W\  &  
I*)eP||  
struts.objectFactory.spring.useClassCache (vf5qF^  
      Whether Spring should use its class cache or not 1]XIF?_D m  
      是否spring应该使用自身的cache j2|!h%{nI  
F1o"H/:n  
struts.objectTypeDeterminer ?rH=<#@  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class > 'KQL?!F  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #8jH_bi  
\OXKK<^$uK  
struts.serve.static.browserCache }GTy{Y*&  
If static content served by the Struts filter should set browser caching header properties or not 7dU7cc  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0=J69Yd  
U_,K_6vj  
struts.serve.static ;R?9|:7  
      Whether the Struts filter should serve static content or not |tS~\_O/  
      是否struts过滤器应该提供静态内容 cB[.ET$  
?|9$o/Q}  
struts.tag.altSyntax /L"&'~  
      Whether to use the alterative syntax for the tags or not ;42D+q=s  
      是否可以用替代的语法替代tags ;w}5:3+  
KBFAV&  
struts.ui.templateDir DWH)<\?  
      The directory containing UI templates Uyyw'Ni  
      UI templates的目录夹 Kq0hT4w  
J#W>%2 "s  
struts.ui.theme &hYjQ&n  
      The default UI template theme )Z 3fytY  
      默认的UI template主题 t| zLR  
6Gs,-Kb:  
struts.url.http.port Cx/duod p  
      The HTTP port used by Struts URLs #0WO~wL  
      设置http端口 cBA2;5E  
,Pd2ZfZ  
struts.url.https.port [%8+Fa~Wa  
      The HTTPS port used by Struts URLs Vkb&' rXw+  
      设置https端口 ^i^S1h"  
2={ g'k(  
struts.url.includeParams d|sI>6jD  
      The default includeParams method to generate Struts URLs fJC,ubP[5  
      在url中产生 默认的includeParams br'/>Un"  
w,.Hdd6  
T;< >""T  
struts.velocity.configfile  93(  
      The Velocity configuration file path %tzz3Y  
      velocity配置文件路径 m,TqyP#  
t(MlZ>H  
struts.velocity.contexts X|wXTecg*|  
      List of Velocity context names #Y*AGxk  
      velocity的context列表 F'#e]/V1  
:1>R~2  
|E]YP~h  
struts.velocity.manager.classname } q ? iJ?P  
      org.apache.struts2.views.velocity.VelocityManager implementation class &[KFCn  
      org.apache.struts2.views.velocity.VelocityManager接口名 -}juj;IVv  
`"CF/X^  
struts.velocity.toolboxlocation uS|Zkuk[!  
      The location of the Velocity toolbox u;:N 4d=f'  
      velocity工具盒的位置 uyG4zV\h*  
struts.xslt.nocache $P@P}%2  
      Whether or not XSLT templates should not be cached t5N4d  
      是否XSLT模版应该被缓存 J:mOg95<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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