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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 YU&4yk lE  
hQXxG/yFm  
struts.action.extension ;t}'X[U  
      The URL extension to use to determine if the request is meant for a Struts action z1F9$ ^  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &]w#z=5SXi  
x8Q~VVZr  
struts.configuration l$F_"o?&S@  
      The org.apache.struts2.config.Configuration implementation class l{8CISO*  
        org.apache.struts2.config.Configuration接口名 VSh!4z1  
bZiyapM  
struts.configuration.files +4Q[N;[+*  
      A list of configuration files automatically loaded by Struts qYx!jA]O  
      struts自动加载的一个配置文件列表 B$ui:R/ t  
;TtaH  
struts.configuration.xml.reload XJUEwX  
      Whether to reload the XML configuration or not 0A.PD rM:  
      是否加载xml配置(true,false) _ j~4+H  
oew|23Ytb  
struts.continuations.package ?FN9rhAC  
      The package containing actions that use Rife continuations j~epbl)pC  
      含有actions的完整连续的package名称 0{Bf9cH  
[a@ B =E  
struts.custom.i18n.resources ' PELf P8  
      Location of additional localization properties files to load >)LAjwhBp  
      加载附加的国际化属性文件(不包含.properties后缀) a2o.a 2  
>rKhlUD  
struts.custom.properties zhX;6= X2  
      Location of additional configuration properties files to load /9pbnzn  
      加载附加的配置文件的位置 X<Z(]`i  
_ \l HI  
V~85oUc\-  
struts.devMode Tw x{' S  
      Whether Struts is in development mode or not L;3aZt,#O  
      是否为struts开发模式 q3+I<qsAz  
5C B%=iL{  
struts.dispatcher.parametersWorkaround g92dw<$>  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic p'}lN|"{O  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) w,Q)@]_  
k {a)gFH O  
struts.enable.DynamicMethodInvocation k d+l k:  
      Allows one to disable dynamic method invocation from the URL Ah (iE  
        允许动态方法调用 e8{^f]5  
G]-%AO{K  
struts.freemarker.manager.classname _lP4}9p  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7,h3V=^)Q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 y:.?5KsPI  
!N1J@LT5h  
struts.i18n.encoding SiV*WxQe  
      The encoding to use for localization messages ugI#ZFjJWE  
      国际化信息内码 x9%-plP  
P{cos&X|  
struts.i18n.reload 1aq2aLx  
      Whether the localization messages should automatically be reloaded 80}4/8  
      是否国际化信息自动加载 ;, rnk-  
d@ZoV  
struts.locale Pu..NPl+  
      The default locale for the Struts application !R74J=#(  
      默认的国际化地区信息 ?I[h~vr6.  
`E W!-v)  
struts.mapper.class <1 S+ '  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9`BEi(z  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 &\k?xN  
zw]3Vg{T  
struts.multipart.maxSize &:No}6  
      The maximize size of a multipart request (file upload) t!{x<9  
      multipart请求信息的最大尺寸(文件上传用) b/nOdFO@  
Q2"WV  
struts.multipart.parser gLD{1-v  
      The org.apache.struts2.dispatcher.multipart. >ZeEX, N  
      MultiPartRequest parser implementation for a multipart request (file upload) ,T$r9!WTM  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) c;wA  
)Oievu_"|  
b+Vi3V  
struts.multipart.saveDir @h#Xix7  
      The directory to use for storing uploaded files A*F9\mj I5  
      设置存储上传文件的目录夹 nW GR5*e:  
Sph*1c(R  
struts.objectFactory *Tp]h 0  
      The com.opensymphony.xwork2.ObjectFactory implementation class =/Wu'gG)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @+&'%1  
4gOgWBv  
struts.objectFactory.spring.autoWire #V[SQ=>x[  
      Whether Spring should autoWire or not | ]# +v@  
      是否自动绑定Spring uoCGSXsi  
Szts<n5  
struts.objectFactory.spring.useClassCache E*k([ZL  
      Whether Spring should use its class cache or not sKd)BA0`  
      是否spring应该使用自身的cache bnr|Y!T}Bi  
vLDi ;  
struts.objectTypeDeterminer 43L|QFo  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \f"1}f  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $)*xC!@6X  
'#H")i  
struts.serve.static.browserCache Pbe7SRdr^  
If static content served by the Struts filter should set browser caching header properties or not <tuS,.  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Dx3%K S  
c&*l"  
struts.serve.static kOipH |.x  
      Whether the Struts filter should serve static content or not O>AFF@=  
      是否struts过滤器应该提供静态内容 2 .f|2:I  
9"ugz^uKt  
struts.tag.altSyntax AS|Rd+ .  
      Whether to use the alterative syntax for the tags or not o1k#."wHr  
      是否可以用替代的语法替代tags QKccrAo  
FJwt?3\u5  
struts.ui.templateDir KjOi(YUnq7  
      The directory containing UI templates @9vvR7{P  
      UI templates的目录夹 ffk4mhH  
wyw<jH  
struts.ui.theme tS<h8g_  
      The default UI template theme XWtiwf'K  
      默认的UI template主题 nY0sb8lZJ  
hVUIBJ/5(-  
struts.url.http.port C[8KlD  
      The HTTP port used by Struts URLs \Y e%o}.{  
      设置http端口 1lcnRHO  
lKWr=k~  
struts.url.https.port <*Ub2B[m  
      The HTTPS port used by Struts URLs $<OhGk-  
      设置https端口 ug#<LO-.Rd  
2-mQt_ i  
struts.url.includeParams J3B.-XJ+n  
      The default includeParams method to generate Struts URLs VR4%v9[1  
      在url中产生 默认的includeParams a$m_D!b~_  
Hku=pr3Gn  
4RQ5(YTTuR  
struts.velocity.configfile Y<Q\d[3^F  
      The Velocity configuration file path qq;b~ 3 kW  
      velocity配置文件路径 zvr\36  
!ZrB^?sO  
struts.velocity.contexts |$e:*  
      List of Velocity context names D|Si)_ Iz  
      velocity的context列表 4j3oT)+8  
x=,8[W#XT  
GN%(9N'W  
struts.velocity.manager.classname _7@z_i_c  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^i`*Wm@!  
      org.apache.struts2.views.velocity.VelocityManager接口名 h|p[OecG  
R 1'`F{56  
struts.velocity.toolboxlocation |zpx)8Q  
      The location of the Velocity toolbox :;4SQN{2 O  
      velocity工具盒的位置 yvxl_*Ds8  
struts.xslt.nocache A5XR3$5P  
      Whether or not XSLT templates should not be cached r1Z<:}ZwK  
      是否XSLT模版应该被缓存 r )b<{u=]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五