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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 {VcRur}&Y8  
'`>%RZ]  
struts.action.extension cQ8[XNa  
      The URL extension to use to determine if the request is meant for a Struts action ~gDYb#p  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 F.[%0b E  
,!#Am13  
struts.configuration Gv-VDRS  
      The org.apache.struts2.config.Configuration implementation class Q:-T' xk@  
        org.apache.struts2.config.Configuration接口名 scg&"s  
V]7/hN-Y}  
struts.configuration.files W/Dd7 G#IC  
      A list of configuration files automatically loaded by Struts L@N %S Sf  
      struts自动加载的一个配置文件列表 J"`VA_[  
^O07GYF  
struts.configuration.xml.reload r,6~%T0  
      Whether to reload the XML configuration or not >mb}~wx`  
      是否加载xml配置(true,false) F&d!fEHU  
Y%KowgP\  
struts.continuations.package X +`Dg::  
      The package containing actions that use Rife continuations +A}t_u3<  
      含有actions的完整连续的package名称 fap`;AuwK  
r w?wi}}gn  
struts.custom.i18n.resources $L*gtZ  
      Location of additional localization properties files to load q0.!T0i  
      加载附加的国际化属性文件(不包含.properties后缀) cl& w/OJ#  
(i~UH04r>s  
struts.custom.properties \<7Bx[/D4  
      Location of additional configuration properties files to load / Hr|u  
      加载附加的配置文件的位置 Qit&cnO  
`16'qc  
?P kJG ,~  
struts.devMode k2}DBVu1  
      Whether Struts is in development mode or not G6G Bqp6|  
      是否为struts开发模式 %e iV^>  
@ {/)k%U  
struts.dispatcher.parametersWorkaround "Z.6@ c7  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .?Eb{W)^br  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ynI e4b  
]A5F}wV4  
struts.enable.DynamicMethodInvocation ha :l-<a  
      Allows one to disable dynamic method invocation from the URL =pL$*`]?  
        允许动态方法调用 Nq8ON!<<  
(TZK~+]@sb  
struts.freemarker.manager.classname "qmSwdM  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <.h7xZ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 'O<b'}-A  
q[s,q3n~  
struts.i18n.encoding 7-744wV}Z  
      The encoding to use for localization messages (\6E.Z#  
      国际化信息内码 WtOjPW  
g}_2T\$k  
struts.i18n.reload T?8BAxC?K  
      Whether the localization messages should automatically be reloaded _XZ Gj:V  
      是否国际化信息自动加载 f"Sp.'@  
0#V"   
struts.locale Y@FYo>0O  
      The default locale for the Struts application l2F#^=tp  
      默认的国际化地区信息 E !kN h  
 /YJo"\7  
struts.mapper.class 01.q9AGy  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class GfONm6A  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ao K9=F}  
$kUB%\`  
struts.multipart.maxSize [jgVN w""D  
      The maximize size of a multipart request (file upload) hK?GIbRZ  
      multipart请求信息的最大尺寸(文件上传用) ChiIQWFE  
<B6md i'R  
struts.multipart.parser pwo$qs(p  
      The org.apache.struts2.dispatcher.multipart. "6U0 !.ro@  
      MultiPartRequest parser implementation for a multipart request (file upload) 9\8ektq}Z  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) V(ELrjB0  
`l|Oj$  
oCT,v0+4O  
struts.multipart.saveDir zyPb\/  
      The directory to use for storing uploaded files Wl| i$L)7  
      设置存储上传文件的目录夹 w%L4O;E]*{  
f I1CT)0<e  
struts.objectFactory >CvhTrPI  
      The com.opensymphony.xwork2.ObjectFactory implementation class byM%D$R  
      com.opensymphony.xwork2.ObjectFactory接口(spring)  P^te  
?`RlYu  
struts.objectFactory.spring.autoWire /pF8S!,z  
      Whether Spring should autoWire or not rN1]UaT  
      是否自动绑定Spring ; hQ[-  
j/t%7,  
struts.objectFactory.spring.useClassCache 6u_i >z  
      Whether Spring should use its class cache or not "Q@m7j)(  
      是否spring应该使用自身的cache klKUX/ g  
)Xdq+$w.  
struts.objectTypeDeterminer L?ZSfm2<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class kFjv'[Y1N  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 dA<%4_WZty  
e66Ag}Sw|  
struts.serve.static.browserCache 4Sh8w%s  
If static content served by the Struts filter should set browser caching header properties or not ip?]&5s  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 qJG;`Ugl:  
Zh8\B)0unn  
struts.serve.static c/$].VG0  
      Whether the Struts filter should serve static content or not 3EYEd39E  
      是否struts过滤器应该提供静态内容 ';R]`vWFe  
QGN+f)  
struts.tag.altSyntax 2TGND-(j  
      Whether to use the alterative syntax for the tags or not Noj*K6  
      是否可以用替代的语法替代tags nmpc<&<<  
P5my]4|x  
struts.ui.templateDir "G%S m")  
      The directory containing UI templates %oiF} >  
      UI templates的目录夹 oG)T>L[&  
%U{6 `m  
struts.ui.theme +2MF#{ tS  
      The default UI template theme EMnz;/dMt  
      默认的UI template主题 dNR /|  
G@P;#l`(D  
struts.url.http.port (1x8DVXNN  
      The HTTP port used by Struts URLs j&Hui>~  
      设置http端口 }[leUYi`  
{XU!p: x  
struts.url.https.port l2;$qNAo  
      The HTTPS port used by Struts URLs b@J"b(  
      设置https端口 ((gI OTV  
T.cTL.}  
struts.url.includeParams )2c]Z|  
      The default includeParams method to generate Struts URLs /)[-5n{  
      在url中产生 默认的includeParams $7YZ;=~B  
P[fy  
|mMsU,*gB  
struts.velocity.configfile R+.4|1p  
      The Velocity configuration file path k2Cq9kQq  
      velocity配置文件路径 XoD:gf  
^?{&v19m  
struts.velocity.contexts B-g-T>8  
      List of Velocity context names 4- QlIIf  
      velocity的context列表 {aA6b  
<,$*(dX)(  
!,ODczWvh  
struts.velocity.manager.classname <Y6Vfee,&  
      org.apache.struts2.views.velocity.VelocityManager implementation class "]jN'N(.  
      org.apache.struts2.views.velocity.VelocityManager接口名 G+#bO5  
tD`^qMua  
struts.velocity.toolboxlocation }Bv1fbD4U  
      The location of the Velocity toolbox xD*Zcw(vj~  
      velocity工具盒的位置 oL9<Fi  
struts.xslt.nocache E 14DZ  
      Whether or not XSLT templates should not be cached z wUC L  
      是否XSLT模版应该被缓存 Mq~E'g4#  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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