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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 q47:kB{d  
P|' eM%  
struts.action.extension Al-;-t#Dc  
      The URL extension to use to determine if the request is meant for a Struts action XMpa87\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 & c V$`L  
, tb\^  
struts.configuration DITo.PU  
      The org.apache.struts2.config.Configuration implementation class Ae[Na:G+  
        org.apache.struts2.config.Configuration接口名 {2,vxGi  
Z\. n6  
struts.configuration.files _'Rzu'$`  
      A list of configuration files automatically loaded by Struts %8hjMds  
      struts自动加载的一个配置文件列表 05PRlz *x=  
P~d&PhOe  
struts.configuration.xml.reload x4=Sm0Ro|V  
      Whether to reload the XML configuration or not {@YY8SKb9  
      是否加载xml配置(true,false) |fIIfYE  
t]14bf$*Q  
struts.continuations.package IF~E;  
      The package containing actions that use Rife continuations ZlG|U]mM5  
      含有actions的完整连续的package名称 sDXD>upO  
Svqj@@_f  
struts.custom.i18n.resources bbe$6xwi  
      Location of additional localization properties files to load mi]bS  
      加载附加的国际化属性文件(不包含.properties后缀) :XFr"aSt  
!9p;%Ny`  
struts.custom.properties AS? ESDC  
      Location of additional configuration properties files to load 'JK"3m}nT  
      加载附加的配置文件的位置 ]9]o*{_+(f  
 oo4aw1d  
:/<SJ({q  
struts.devMode Q}6!t$Vk  
      Whether Struts is in development mode or not 1O,:fTG<  
      是否为struts开发模式 oqUF_kh  
;U)xZ _Ew~  
struts.dispatcher.parametersWorkaround 3Z%~WE;I  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic qEJ#ce]G  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !!:mjq<0  
19j"Zxdg Y  
struts.enable.DynamicMethodInvocation xm$-:N0q  
      Allows one to disable dynamic method invocation from the URL 9Rd& Jq^  
        允许动态方法调用 UI%Z`.&  
$s]vZ(H  
struts.freemarker.manager.classname ZULnS*V;5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class iO@UzD #v  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 RzOcz=A}  
tN1xZW:  
struts.i18n.encoding fPBJ%SZ  
      The encoding to use for localization messages Uu_Es{@  
      国际化信息内码 P+:DLex  
HE|XDcYO  
struts.i18n.reload KBOp}MEz  
      Whether the localization messages should automatically be reloaded !*G%vOa  
      是否国际化信息自动加载 N(Sc!rX  
+oevNM  
struts.locale slTE.  
      The default locale for the Struts application q/#p ol  
      默认的国际化地区信息 J:Idt}@z  
/nWBol,  
struts.mapper.class Q&]f9j_  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -qqI @+u+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 G0~6A@>  
/N9ct4 {^  
struts.multipart.maxSize W\Df:P {<  
      The maximize size of a multipart request (file upload) E! GH$%:;  
      multipart请求信息的最大尺寸(文件上传用) q,m+W='  
lx\9Y8  
struts.multipart.parser q5xF~SQGw2  
      The org.apache.struts2.dispatcher.multipart. Us2IeR  
      MultiPartRequest parser implementation for a multipart request (file upload) >r\q6f#J4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `F`{s`E)  
L6x;<gj  
)lZoXt_3  
struts.multipart.saveDir Rn$[P.||  
      The directory to use for storing uploaded files 8_Nyy/K#F  
      设置存储上传文件的目录夹 of=N+ W  
Mj6 0?k  
struts.objectFactory MAQ(PIc>T  
      The com.opensymphony.xwork2.ObjectFactory implementation class JnIE6@g<y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) z5p5=KOb  
4G2iT+X-  
struts.objectFactory.spring.autoWire Fs(FI\^  
      Whether Spring should autoWire or not 0fzHEL  
      是否自动绑定Spring y|/[;  
1I?`3N  
struts.objectFactory.spring.useClassCache 2h:{6Gq8  
      Whether Spring should use its class cache or not ey@ccc*sZ9  
      是否spring应该使用自身的cache ]{| wU.  
|/;;uK,y  
struts.objectTypeDeterminer p1N3AhXY  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class bRD-[)  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )uu(I5St  
+L|x^ B3  
struts.serve.static.browserCache b/"gUYo  
If static content served by the Struts filter should set browser caching header properties or not >@)p*y.K  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ub;:"ns}  
NHiac(&*  
struts.serve.static H1.ktG  
      Whether the Struts filter should serve static content or not rS8}(lf  
      是否struts过滤器应该提供静态内容 _9C,N2a{C  
v\o m  
struts.tag.altSyntax Z 4QL&?U  
      Whether to use the alterative syntax for the tags or not R-YNg  
      是否可以用替代的语法替代tags A<_{7F9  
<?>tjCg'  
struts.ui.templateDir !oa/\p  
      The directory containing UI templates Rt>mAU$}  
      UI templates的目录夹 goe %'k,  
.*edaDi  
struts.ui.theme +ib&6IU  
      The default UI template theme (q@%eor&}  
      默认的UI template主题 hg2Ywzfm-  
[}HS[($  
struts.url.http.port ik#ti=.  
      The HTTP port used by Struts URLs H'+3<t>  
      设置http端口 !dq$qUl/  
*ze,X~8-  
struts.url.https.port V|G*9^Y  
      The HTTPS port used by Struts URLs 3rBID  
      设置https端口 <JIqkGeAi  
$R%tD.d3  
struts.url.includeParams 6of9lO:  
      The default includeParams method to generate Struts URLs 1~Z   
      在url中产生 默认的includeParams K@%gvLa\  
1 -$+@Xl  
y+p"5s"  
struts.velocity.configfile D#P]tt.Z   
      The Velocity configuration file path w3;{z ,,T  
      velocity配置文件路径 tA]u=-_h  
T+q5~~\d  
struts.velocity.contexts .W\JvPTC  
      List of Velocity context names +%H=+fJ2}  
      velocity的context列表 x_t$*  
^ WF_IH&  
aLl=L_  
struts.velocity.manager.classname jx{ fel  
      org.apache.struts2.views.velocity.VelocityManager implementation class `A9fanh  
      org.apache.struts2.views.velocity.VelocityManager接口名 *{,}pK2*  
X .sOZb?$  
struts.velocity.toolboxlocation g&{CEfw&  
      The location of the Velocity toolbox SAiaC _  
      velocity工具盒的位置 WcQkeh3n  
struts.xslt.nocache Po&'#TC1  
      Whether or not XSLT templates should not be cached # [ +n(  
      是否XSLT模版应该被缓存 #&ei  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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