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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 O>kM2xw  
fT  
struts.action.extension &VfMv'%x  
      The URL extension to use to determine if the request is meant for a Struts action >XK |jPK  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |&0zAP"\  
#>\%7b59>  
struts.configuration -VhxnhS  
      The org.apache.struts2.config.Configuration implementation class Y<9]7R(\;  
        org.apache.struts2.config.Configuration接口名 UZb!tO2  
d0 qc%.s  
struts.configuration.files LP:F'Q:<  
      A list of configuration files automatically loaded by Struts YB3?Ftgw  
      struts自动加载的一个配置文件列表 _omz74   
JWo).  
struts.configuration.xml.reload \2NT7^H#  
      Whether to reload the XML configuration or not N(= \S:  
      是否加载xml配置(true,false) 56T{JTo  
2L|)uCb  
struts.continuations.package mv\S1[<T  
      The package containing actions that use Rife continuations 9  7Mi{Zz  
      含有actions的完整连续的package名称 1JWo~E'  
9 `z^'k&  
struts.custom.i18n.resources & 24$*Oe  
      Location of additional localization properties files to load j]bNOC2.L  
      加载附加的国际化属性文件(不包含.properties后缀) ;Br #e1~  
.l}oxWWoS  
struts.custom.properties ~Op~~ m  
      Location of additional configuration properties files to load |]'0z0>  
      加载附加的配置文件的位置 Tmr %r'i3  
>^ijj`{d  
Yi+$g  
struts.devMode z`KP }-  
      Whether Struts is in development mode or not &n-)Alx  
      是否为struts开发模式 e<1)KqG  
uhO-0H  
struts.dispatcher.parametersWorkaround 35 PIfq m  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic J{h?=vK  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) CwQRHi  
_8'z"w F  
struts.enable.DynamicMethodInvocation 3KN>t)A#  
      Allows one to disable dynamic method invocation from the URL g]Fm%iy  
        允许动态方法调用 ERZWK  
d<+@cf_9  
struts.freemarker.manager.classname /j:fc?yv  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wC~LZSTt  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]0@ 06G(y  
6h3TU,$r  
struts.i18n.encoding fs;pX/:FR  
      The encoding to use for localization messages 4NxI:d$&*  
      国际化信息内码 %% A==_b  
a<d$P*I(cH  
struts.i18n.reload u[~= a 5:4  
      Whether the localization messages should automatically be reloaded jpRC6b?  
      是否国际化信息自动加载 AxZaV;%*  
3}ATt".  
struts.locale _5&LV2  
      The default locale for the Struts application CGY,I UG  
      默认的国际化地区信息 UcxMA%Pw7$  
>nOzz0,  
struts.mapper.class  O)?  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hR(p{$-T  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !(>yB;u  
.Mu]uQUF  
struts.multipart.maxSize F=l.2t*9  
      The maximize size of a multipart request (file upload) 32Jl|@8,g  
      multipart请求信息的最大尺寸(文件上传用) S1G3xY$0  
mj _ V6`m4  
struts.multipart.parser 6V^KOG  
      The org.apache.struts2.dispatcher.multipart. c!HmZ]/  
      MultiPartRequest parser implementation for a multipart request (file upload) mH)th7  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !y syb  
{H[3[  
"?SR+;Y:q  
struts.multipart.saveDir s ad[(|  
      The directory to use for storing uploaded files :Co+haW  
      设置存储上传文件的目录夹 )3A%Un#B  
6Z7J<0  
struts.objectFactory Z&j?@k,k  
      The com.opensymphony.xwork2.ObjectFactory implementation class |VE *_ G  
      com.opensymphony.xwork2.ObjectFactory接口(spring) CyEEE2cV  
TATH,Sz:x  
struts.objectFactory.spring.autoWire Bn?MlG;aA  
      Whether Spring should autoWire or not AB")aX2% E  
      是否自动绑定Spring SlojB^%  
V^5Z9!  
struts.objectFactory.spring.useClassCache =V*4&OU  
      Whether Spring should use its class cache or not R'1L%srTM+  
      是否spring应该使用自身的cache XX|wle1Kg  
F-I\x  
struts.objectTypeDeterminer vg ^&j0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class y&{ Z"+B5  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 n9x&Ws;  
PHHX)xK  
struts.serve.static.browserCache o dTg.m  
If static content served by the Struts filter should set browser caching header properties or not gt{$G|bi  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 'W]oQLD^R  
-e(,>9Q  
struts.serve.static w\2yippI  
      Whether the Struts filter should serve static content or not StWF66u34&  
      是否struts过滤器应该提供静态内容 IWD21lS  
%2t#>}If!  
struts.tag.altSyntax 2i_X{!0}  
      Whether to use the alterative syntax for the tags or not vhj^R5=  
      是否可以用替代的语法替代tags F\( 7B#  
;1[Lwnm  
struts.ui.templateDir )o>1=Y`[z  
      The directory containing UI templates ?7CHHk  
      UI templates的目录夹 >W7IWhm3  
Wk*t-  
struts.ui.theme "Ir.1FN  
      The default UI template theme Mh;rhQ  
      默认的UI template主题 >HlQ+bl$xw  
v'W`\MKY)  
struts.url.http.port oYNp0Hc  
      The HTTP port used by Struts URLs $dgez#TPL  
      设置http端口 j~:N8(=  
lM'yj}:~  
struts.url.https.port PquATAzQA  
      The HTTPS port used by Struts URLs @E5 }v  
      设置https端口 1ps_zn(  
h<ULp &g  
struts.url.includeParams WA&&*ae5`  
      The default includeParams method to generate Struts URLs \NI0rL  
      在url中产生 默认的includeParams b1NB:  
'I *&P5|  
p&4#9I5  
struts.velocity.configfile d?_LNSDo  
      The Velocity configuration file path jtF et{  
      velocity配置文件路径 {P>%l\?  
0nOp'Ky\k  
struts.velocity.contexts =gb(<`{>  
      List of Velocity context names u{"@ 4  
      velocity的context列表 r GxX]  
>W[#-jA_Z  
sB>ZN3ptH^  
struts.velocity.manager.classname #v QyECf  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z6XP..  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^&-H"jF  
ZFsJeF'"  
struts.velocity.toolboxlocation Q0cr^24/  
      The location of the Velocity toolbox u]%>=N(^2  
      velocity工具盒的位置 'ffOFIz|=I  
struts.xslt.nocache |L"!^Y#=D  
      Whether or not XSLT templates should not be cached byUz  
      是否XSLT模版应该被缓存 [6Nw)r(a(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八