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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -.1x!~.jX  
iD_NpH q  
struts.action.extension y`=A$>A  
      The URL extension to use to determine if the request is meant for a Struts action yjpV71!M  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?K{CjwE.M  
kVQKP  U  
struts.configuration x+"~-KO8q$  
      The org.apache.struts2.config.Configuration implementation class !tFs(![  
        org.apache.struts2.config.Configuration接口名 vKDRjrF-  
[z`U 9J  
struts.configuration.files _5.^A&Y*  
      A list of configuration files automatically loaded by Struts W=o90TwbN  
      struts自动加载的一个配置文件列表 a>Uk<#>2?a  
6.2_UN^<  
struts.configuration.xml.reload d)(61  
      Whether to reload the XML configuration or not :Cw|BX@??U  
      是否加载xml配置(true,false) I* \o  
'6fMF#X4F  
struts.continuations.package Q,Hw@w<1  
      The package containing actions that use Rife continuations {Os$Uui37\  
      含有actions的完整连续的package名称 qp_kILo~  
goeWZO  
struts.custom.i18n.resources t&wtw  
      Location of additional localization properties files to load BM1uZJ0  
      加载附加的国际化属性文件(不包含.properties后缀) "Sc_E}q |e  
N|T%cdh:/  
struts.custom.properties qp^O\>c  
      Location of additional configuration properties files to load xRJv_=dT  
      加载附加的配置文件的位置 #5N#^#r"  
MV H^["AeR  
d5%A64?  
struts.devMode ' V;cA$ $  
      Whether Struts is in development mode or not H6x~mZu_:T  
      是否为struts开发模式 @X"p"3V  
\QstcsEt  
struts.dispatcher.parametersWorkaround l[l('-f  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic "N"9PTX  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S-npJh 6  
sE-E\+  
struts.enable.DynamicMethodInvocation GNqw]@'Yf  
      Allows one to disable dynamic method invocation from the URL ~9p*zC3M  
        允许动态方法调用 Ytc  
%:N6#;l M  
struts.freemarker.manager.classname vN-#Ej. u  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class iQZgs@  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Lcf =)GL  
1[a;2x A~  
struts.i18n.encoding ,Zb]3  
      The encoding to use for localization messages *;(LKRV  
      国际化信息内码 +%=Ao6/#  
hJ>{`Tw  
struts.i18n.reload L=Fm:O'#2  
      Whether the localization messages should automatically be reloaded T c4N\Cy  
      是否国际化信息自动加载 h2zuPgz,  
eR D?O  
struts.locale Z+=WgEu1  
      The default locale for the Struts application jnYFA[Ab  
      默认的国际化地区信息 ^vLHs=<  
q[nX<tO  
struts.mapper.class .KGW#Qk8  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @U_w:Q<9u  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 kV(}45i]s  
[P]zdw w#  
struts.multipart.maxSize Lf&p2p?~c  
      The maximize size of a multipart request (file upload) ?0WJB[/  
      multipart请求信息的最大尺寸(文件上传用) <bWhTNOb  
+n%uIv  
struts.multipart.parser m\__Fl  
      The org.apache.struts2.dispatcher.multipart. Z TWbe  
      MultiPartRequest parser implementation for a multipart request (file upload) '%yWz)P  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) s@E "EWp0  
X5cl'J(j9  
#qGfo)  
struts.multipart.saveDir ;+g p#&i`  
      The directory to use for storing uploaded files >lU[ lf+/  
      设置存储上传文件的目录夹 4iBp!k7  
KY<>S/  
struts.objectFactory ;WC]Lf<Z^  
      The com.opensymphony.xwork2.ObjectFactory implementation class 29 L~SMf  
      com.opensymphony.xwork2.ObjectFactory接口(spring) t(-noy)  
QDRSQ[\  
struts.objectFactory.spring.autoWire ^!L'Ao y;E  
      Whether Spring should autoWire or not Ka&[ Oz<w  
      是否自动绑定Spring W^i ct,t  
}a,j1r_Hl&  
struts.objectFactory.spring.useClassCache 5*xk8*  
      Whether Spring should use its class cache or not xI55pj*  
      是否spring应该使用自身的cache ( YF`#v6  
'xm_oGWE  
struts.objectTypeDeterminer SG2s!Ht  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~EG`[cv  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1D&Q{?RM  
]vMr@JM-G  
struts.serve.static.browserCache ".O+";wk  
If static content served by the Struts filter should set browser caching header properties or not x1W<r)A )r  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 y5 $h  
ZMy0iQ@  
struts.serve.static J4#t1P@Na  
      Whether the Struts filter should serve static content or not Kgbgp mW  
      是否struts过滤器应该提供静态内容 +N: K V}K  
3*"$E_%  
struts.tag.altSyntax ^\Nsx)Y;  
      Whether to use the alterative syntax for the tags or not 3xWeN#T0  
      是否可以用替代的语法替代tags v}!eJzeH  
>t&Frw/Bl  
struts.ui.templateDir 8 sZ~3  
      The directory containing UI templates \Y_2Z /  
      UI templates的目录夹 FN NEh  
!jL|HwlA  
struts.ui.theme UB }n=  
      The default UI template theme 8rAOs\ys  
      默认的UI template主题 ^6bU4bA  
8bLA6qmM\  
struts.url.http.port 47ra`*  
      The HTTP port used by Struts URLs _nOJ.G  
      设置http端口 dElOy?v  
 iUJqAi1o  
struts.url.https.port {5QIQ  
      The HTTPS port used by Struts URLs Q3vC^}Dmr  
      设置https端口 4d#w}  
L}*:,&Y/  
struts.url.includeParams {O9CYP:  
      The default includeParams method to generate Struts URLs [x ?38  
      在url中产生 默认的includeParams JziuwL5,  
wN\%b}pp  
o@mZ6!ax3  
struts.velocity.configfile n#[-1 (P  
      The Velocity configuration file path k3h,c;  
      velocity配置文件路径 l5F>v!NA  
1Y:lFGoe  
struts.velocity.contexts  h%0/j  
      List of Velocity context names 3JVENn9  
      velocity的context列表 q{5wx8_U  
O}I8P")m  
 Veo:G{  
struts.velocity.manager.classname (xf_  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5@ecZ2`)+h  
      org.apache.struts2.views.velocity.VelocityManager接口名 mD{<Lp=  
DvCs 5  
struts.velocity.toolboxlocation u[q1]]   
      The location of the Velocity toolbox -B-?z?+(O  
      velocity工具盒的位置 l2QO\O I9m  
struts.xslt.nocache ]fvU}4!  
      Whether or not XSLT templates should not be cached $_CE!_G&)  
      是否XSLT模版应该被缓存 =p,+a/*  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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