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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Ht^2)~e~:  
Hbc&.W;g7[  
struts.action.extension H^:|`T|,  
      The URL extension to use to determine if the request is meant for a Struts action T5_Cu9>ax  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 J\D3fh97-  
bu&y w~  
struts.configuration X2?_lZ[\  
      The org.apache.struts2.config.Configuration implementation class $-fY8V3[  
        org.apache.struts2.config.Configuration接口名 1ZFSz{  
"q/M8  
struts.configuration.files jUSr t)o03  
      A list of configuration files automatically loaded by Struts >! .9g  
      struts自动加载的一个配置文件列表 mxA )r5sx  
<XrGr5=BV  
struts.configuration.xml.reload x.Ml~W[  
      Whether to reload the XML configuration or not }c5`~ LLK  
      是否加载xml配置(true,false) #zs\Z]3#  
l8Qi^<i/  
struts.continuations.package NWK_(=n  
      The package containing actions that use Rife continuations ,x.)L=Cx8  
      含有actions的完整连续的package名称 A_|FsQ6$P  
S]=Vr%irX  
struts.custom.i18n.resources ]sAD5<;  
      Location of additional localization properties files to load bI(98V,t  
      加载附加的国际化属性文件(不包含.properties后缀) H5 hUY'O  
Z@/5~p  
struts.custom.properties  yE,o~O  
      Location of additional configuration properties files to load r/L]uSN  
      加载附加的配置文件的位置 &:K?-ac  
V <pjR@  
pPp nO  
struts.devMode Lta\AN!c  
      Whether Struts is in development mode or not ye2Oh7  
      是否为struts开发模式 )1 j2  
M6#(F7hB  
struts.dispatcher.parametersWorkaround ~' =4K/39  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic p,Hk"DSs%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <t37DnCgI  
n$l]+[>  
struts.enable.DynamicMethodInvocation n5>N9lc  
      Allows one to disable dynamic method invocation from the URL ZS_f',kE  
        允许动态方法调用 Z"+!ayA7D  
lXKZNCL  
struts.freemarker.manager.classname #K w\r50  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class SH|$Dg  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /z:K#  
kq0m^`  
struts.i18n.encoding q Db}b d5  
      The encoding to use for localization messages c%.& F  
      国际化信息内码 pk1M.+  
0+pJv0u  
struts.i18n.reload BG=_i#V  
      Whether the localization messages should automatically be reloaded c$fM6M }  
      是否国际化信息自动加载 P,_E 4y  
1hij4m$b  
struts.locale a"aV&t  
      The default locale for the Struts application `,d7_#9'  
      默认的国际化地区信息 ayp}TYh*  
cyNLeg+O*  
struts.mapper.class musxX58%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Zh^w)}(W  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口  64fG,b  
Kjw\SQ)2~  
struts.multipart.maxSize glgk>83I+  
      The maximize size of a multipart request (file upload) Y\sjm]_  
      multipart请求信息的最大尺寸(文件上传用) UXHFti/A<  
Shz;)0To  
struts.multipart.parser IhLfuyFWu  
      The org.apache.struts2.dispatcher.multipart. Kx0dOkE  
      MultiPartRequest parser implementation for a multipart request (file upload) eVXbYv=gJ@  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) idy:Jei}  
.SN]hLV5  
T 1=M6iJ  
struts.multipart.saveDir :TI1tJS~*  
      The directory to use for storing uploaded files z?,5v`,t2  
      设置存储上传文件的目录夹 <b I,y_<K  
? Q}{&J  
struts.objectFactory =w-H )  
      The com.opensymphony.xwork2.ObjectFactory implementation class EA.U>5Fq  
      com.opensymphony.xwork2.ObjectFactory接口(spring) &=bI3-  
to7)gOX(  
struts.objectFactory.spring.autoWire |=s3a5sl  
      Whether Spring should autoWire or not 4>*`26  
      是否自动绑定Spring Vk-_H)*r  
W:\VFP f2  
struts.objectFactory.spring.useClassCache gzF&7trN  
      Whether Spring should use its class cache or not .~J^`/o  
      是否spring应该使用自身的cache YSyW '~!b  
PAkW[;GSDh  
struts.objectTypeDeterminer  E"=$p $k  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Sdp1h0E}7=  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M.xEiHz  
<lR8MqjM_  
struts.serve.static.browserCache Hr$5B2'  
If static content served by the Struts filter should set browser caching header properties or not .U_=LV]C  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $hio (   
mz1g8M`@[D  
struts.serve.static o1\8>Ew  
      Whether the Struts filter should serve static content or not &bQ^J%\  
      是否struts过滤器应该提供静态内容 9"S3AEI  
Xl;N= fc  
struts.tag.altSyntax UB}mI0/w  
      Whether to use the alterative syntax for the tags or not ^MUM04l  
      是否可以用替代的语法替代tags :%{7Q$Xv<  
UlrY  
struts.ui.templateDir ikQ2x]Sp  
      The directory containing UI templates rNc>1}DDS  
      UI templates的目录夹 *F0N'*  
iQF93:#  
struts.ui.theme B|v fkX2f  
      The default UI template theme n :P}K?lg  
      默认的UI template主题 16vfIUtb  
f$|v  
struts.url.http.port K-ebAaiC  
      The HTTP port used by Struts URLs STe;Sr&p  
      设置http端口 $G3P3y: [  
h*LIS@&9C5  
struts.url.https.port *?{)i~  
      The HTTPS port used by Struts URLs $`%.Y&A  
      设置https端口 /l L*U  
|UG)*t/  
struts.url.includeParams T[~X~dqwn"  
      The default includeParams method to generate Struts URLs ^^#A9AM  
      在url中产生 默认的includeParams vs~*=d27Pf  
Vs >1%$If  
i ^#R iCeo  
struts.velocity.configfile  UWI5 /R  
      The Velocity configuration file path ?W()Do1tR  
      velocity配置文件路径 GfDA5v[  
@ 55Y2  
struts.velocity.contexts ',f[y:v;  
      List of Velocity context names U|=y&a2Rb  
      velocity的context列表 *"@P2F&  
I,D=ixK  
'PZJ{8=  
struts.velocity.manager.classname Gx m"HC  
      org.apache.struts2.views.velocity.VelocityManager implementation class `|R{^Sk1o  
      org.apache.struts2.views.velocity.VelocityManager接口名 K\G|q}E/1  
;6?K&}J)-  
struts.velocity.toolboxlocation Mtu8zm  
      The location of the Velocity toolbox x)*[>d2yd  
      velocity工具盒的位置 rlD@O~P4  
struts.xslt.nocache Xma0k3;-  
      Whether or not XSLT templates should not be cached ;I>`!|mT  
      是否XSLT模版应该被缓存 mYCGGwD  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八