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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 s ~(qO|d  
riFE.;  
struts.action.extension ,(OA5%A9zK  
      The URL extension to use to determine if the request is meant for a Struts action ~AjbF(Ad  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $`{}4,5M  
azj<aaH  
struts.configuration Y49kq}  
      The org.apache.struts2.config.Configuration implementation class Vn=J$Uv0  
        org.apache.struts2.config.Configuration接口名 qW;nWfkYC  
XLEA|#  
struts.configuration.files o~mY,7@a  
      A list of configuration files automatically loaded by Struts &e cf5jFy  
      struts自动加载的一个配置文件列表 ?uk|x!Ko]  
b]hRmW  
struts.configuration.xml.reload v*FCE 1HI  
      Whether to reload the XML configuration or not SDA +XnmH  
      是否加载xml配置(true,false) hYb!RRGn  
k(u W( 6  
struts.continuations.package {;f` t3D  
      The package containing actions that use Rife continuations @B7 ;  
      含有actions的完整连续的package名称 Qy0bp;V/  
!%T@DT=l&  
struts.custom.i18n.resources &b"PjtU.X  
      Location of additional localization properties files to load &|/C*2A  
      加载附加的国际化属性文件(不包含.properties后缀) IL YS:c58=  
T{?!sB3  
struts.custom.properties :_)Xe*O  
      Location of additional configuration properties files to load zT!JHG  
      加载附加的配置文件的位置 H{p+gj^J  
8QFY:.h&  
P1TL H2)  
struts.devMode >]ZojdOl)  
      Whether Struts is in development mode or not 3zs~ Y3M?i  
      是否为struts开发模式 `.L8<-]W  
vlEd=H,LT  
struts.dispatcher.parametersWorkaround FIC 2)  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0sV;TQt+f  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) w y:USS?  
pBK[j ([  
struts.enable.DynamicMethodInvocation f{* G%  
      Allows one to disable dynamic method invocation from the URL ]E[Mv} =  
        允许动态方法调用 gmJJ(}HVz  
#G)ZhgB^  
struts.freemarker.manager.classname `S$BBF;  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8I@= ?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 MJ}VNv|S  
,^AkfOY7"  
struts.i18n.encoding (Q#A Br8  
      The encoding to use for localization messages 89'nbg  
      国际化信息内码 z~z.J ]  
DC[ -<:B  
struts.i18n.reload ;9B:E"K?@1  
      Whether the localization messages should automatically be reloaded }6^(  
      是否国际化信息自动加载 B0Xn9Tvk  
Q'$aFl'NR  
struts.locale zzq/%jki  
      The default locale for the Struts application ?w3f;v  
      默认的国际化地区信息 z'fGHiX7.0  
XK(<N<Z@|e  
struts.mapper.class ew }C*4qH  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }1X,~y]  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 A g/z\kX  
9FJU'$FN  
struts.multipart.maxSize h +N75  
      The maximize size of a multipart request (file upload) c @2s!bs  
      multipart请求信息的最大尺寸(文件上传用) l$zo3[  
LR-op?W  
struts.multipart.parser 33"{"2==`  
      The org.apache.struts2.dispatcher.multipart. ;rd!kFd#bq  
      MultiPartRequest parser implementation for a multipart request (file upload) x<9|t(  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) a&PoUwG  
0o`0Td  
TtkB  
struts.multipart.saveDir E$smr\  
      The directory to use for storing uploaded files O yj!N`&z@  
      设置存储上传文件的目录夹 2\EMtR>.M'  
|iO2,99i  
struts.objectFactory Fv#ToT:QXe  
      The com.opensymphony.xwork2.ObjectFactory implementation class {%UY1n  
      com.opensymphony.xwork2.ObjectFactory接口(spring) (_U&EX%  
N @]*E  
struts.objectFactory.spring.autoWire lyv9eM  
      Whether Spring should autoWire or not 1)%9h>F7  
      是否自动绑定Spring ?$=N!>P#  
MEq ()}7P  
struts.objectFactory.spring.useClassCache 0D$+WX  
      Whether Spring should use its class cache or not 6j_ A{*~Ng  
      是否spring应该使用自身的cache LT2mwJl  
K _O3DcQ  
struts.objectTypeDeterminer `,\WhJ?9  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class p]=8=pE<  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9dy"Y~c  
|l7e*$j  
struts.serve.static.browserCache )h>Cp,|{  
If static content served by the Struts filter should set browser caching header properties or not [x-Z)Q. 5  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -$[=AqJXp;  
"+saI@G  
struts.serve.static .o.@cLdU  
      Whether the Struts filter should serve static content or not jf.ikxm  
      是否struts过滤器应该提供静态内容 D@O '8  
8l;0)`PU  
struts.tag.altSyntax TtKBok  
      Whether to use the alterative syntax for the tags or not vEn12s(lj  
      是否可以用替代的语法替代tags  {l_R0  
4/Ok/I  
struts.ui.templateDir %# J8cB  
      The directory containing UI templates RQ}x7< /{  
      UI templates的目录夹 ;) (qRZd6  
Qzb8*;4?FF  
struts.ui.theme &$vDC M4  
      The default UI template theme }Ct_i'Ow  
      默认的UI template主题 y(6&90cr  
/Hx%gKU  
struts.url.http.port /M B0%6m  
      The HTTP port used by Struts URLs h/eKVRGs"  
      设置http端口 kwZC 3p\\  
fs~n{z,ja%  
struts.url.https.port 6Y\9h)1Jo  
      The HTTPS port used by Struts URLs Njz,y}\  
      设置https端口 Oh<Z0M)  
v8-F;>H  
struts.url.includeParams _qJ[~'m<^C  
      The default includeParams method to generate Struts URLs 2ORWdR.b  
      在url中产生 默认的includeParams oBKZ$&_h  
49Ht I9@  
Q.M3rRh  
struts.velocity.configfile K& 2p<\2  
      The Velocity configuration file path tlqDY1  
      velocity配置文件路径 od?Q&'A  
AvP*p{we  
struts.velocity.contexts $T]1<3\G  
      List of Velocity context names I2K52A+  
      velocity的context列表 HmRwh  
OXA_E/F  
~iF*+\  
struts.velocity.manager.classname Jg;Hg[  
      org.apache.struts2.views.velocity.VelocityManager implementation class OkA-=M)RI:  
      org.apache.struts2.views.velocity.VelocityManager接口名 *%uv7G@%N  
MeP U`M--  
struts.velocity.toolboxlocation q)<5&|V  
      The location of the Velocity toolbox 9c#9KCmc  
      velocity工具盒的位置 "Z}0A/y  
struts.xslt.nocache #;}IHAR  
      Whether or not XSLT templates should not be cached V/>SjUNq  
      是否XSLT模版应该被缓存 v`x~O+  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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