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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 lz1l1.f8  
c@%:aiEl  
struts.action.extension {(i>$RG_  
      The URL extension to use to determine if the request is meant for a Struts action LoQm&3/  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #=@( m.k:s  
+^ n\?!  
struts.configuration ~*9 vn Z@  
      The org.apache.struts2.config.Configuration implementation class 18pi3i[  
        org.apache.struts2.config.Configuration接口名 {1.t ZCMT  
6u`E{$  
struts.configuration.files s88lN=;  
      A list of configuration files automatically loaded by Struts JB~79Lsdz  
      struts自动加载的一个配置文件列表 FV>LD% uu  
pt&(c[  
struts.configuration.xml.reload ixZ w;+h  
      Whether to reload the XML configuration or not ][1 *.7-  
      是否加载xml配置(true,false) &{?*aK&%3l  
_6v|k}tW'Y  
struts.continuations.package b/:&iG;  
      The package containing actions that use Rife continuations 6C>"H  
      含有actions的完整连续的package名称 tY^MP5*  
A\9Q gM  
struts.custom.i18n.resources 7RQ.oee  
      Location of additional localization properties files to load !j,LS$tPu  
      加载附加的国际化属性文件(不包含.properties后缀) $bRakF1'S  
y~CK&[H  
struts.custom.properties fJ_d ,4  
      Location of additional configuration properties files to load o qa]iBO  
      加载附加的配置文件的位置 #I jG[a-  
h0ufl.N_%  
ZtPq */'  
struts.devMode :|3n`,  
      Whether Struts is in development mode or not c`94a SnV  
      是否为struts开发模式 7jIye8Zi8  
\M-}(>Pfk  
struts.dispatcher.parametersWorkaround  ~{7/v  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic pBV_'A}ioh  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8C1 'g7A<  
zWYm* c"n\  
struts.enable.DynamicMethodInvocation LP?E  
      Allows one to disable dynamic method invocation from the URL \^O#)&5 V  
        允许动态方法调用 iq_y80g`8h  
2JNO@  
struts.freemarker.manager.classname  B@Acm  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ZSC Zt&2v  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 CPssk,q~C  
^s z4-+>  
struts.i18n.encoding q 65mR!)  
      The encoding to use for localization messages *GxOiv7"4W  
      国际化信息内码 /,v>w,  
l<fZt#T  
struts.i18n.reload "L yMw){  
      Whether the localization messages should automatically be reloaded =SJwCT0;  
      是否国际化信息自动加载 <BoDLvW>  
!;'#f xW[  
struts.locale oG5 :]/F  
      The default locale for the Struts application zs! }P  
      默认的国际化地区信息 am >X7  
: tKa1vL  
struts.mapper.class ;8z40cD  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6(1xU\x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 t?J Y@hT*  
>05_#{up  
struts.multipart.maxSize )NG{iD{_]  
      The maximize size of a multipart request (file upload) qI-q%]l  
      multipart请求信息的最大尺寸(文件上传用) .kO!8Q-;%  
5 fpBzn$  
struts.multipart.parser ~ KNdV  
      The org.apache.struts2.dispatcher.multipart. }1<_  
      MultiPartRequest parser implementation for a multipart request (file upload) ;4DqtR"7Y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gY'w=(/`  
L`E^BuP/  
r?Y+TtF\e  
struts.multipart.saveDir =/xTUI4  
      The directory to use for storing uploaded files 99Jk<x k  
      设置存储上传文件的目录夹 |~Q`D dkX  
M XB fX  
struts.objectFactory +^!;J/24  
      The com.opensymphony.xwork2.ObjectFactory implementation class mIu-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) O&=40"Dr  
TUeW-'/1  
struts.objectFactory.spring.autoWire Of| e]GR  
      Whether Spring should autoWire or not -]=-IiC#  
      是否自动绑定Spring nv WTx4oy  
utk'joo  
struts.objectFactory.spring.useClassCache slSQ\;CDA  
      Whether Spring should use its class cache or not =Rnx!E  
      是否spring应该使用自身的cache W)rE_tw,|  
Jz(!eTVs  
struts.objectTypeDeterminer YLc 2:9  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T*"15ppfk  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _H#l&bL@C  
bJ8~/d]+  
struts.serve.static.browserCache JDO5eEwj  
If static content served by the Struts filter should set browser caching header properties or not 1iOQ8hD  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "zJGYBen  
{4\hxyw  
struts.serve.static xW84g08_,  
      Whether the Struts filter should serve static content or not {,r7dxI)`  
      是否struts过滤器应该提供静态内容 79J@`  
S30@|@fTz  
struts.tag.altSyntax W!a~ #R/r-  
      Whether to use the alterative syntax for the tags or not t(SSrM]  
      是否可以用替代的语法替代tags g=?KpI-pn0  
ag6hhkj A  
struts.ui.templateDir ,}&E=5MF\  
      The directory containing UI templates QiU!;!s  
      UI templates的目录夹 y]OW{5(  
R#Z1+&='  
struts.ui.theme h-VpX6  
      The default UI template theme /f!_dJ^  
      默认的UI template主题 Q ! 5P  
a7G0  
struts.url.http.port amI$0  
      The HTTP port used by Struts URLs yVPkJ  
      设置http端口 f[)_=T+  
x/$s:[0B#  
struts.url.https.port ) Qve[O  
      The HTTPS port used by Struts URLs "4FL<6  
      设置https端口 #&\hgsw/T  
?i4}[q  
struts.url.includeParams SM:SxhrGt  
      The default includeParams method to generate Struts URLs  U4#[>*  
      在url中产生 默认的includeParams }z&P^p)R  
4+mawyM  
D5X;hd  
struts.velocity.configfile 2aUz.k8o  
      The Velocity configuration file path an3HKfv  
      velocity配置文件路径 WG 9f>kE  
$;*YdZ`q  
struts.velocity.contexts _t:cDXj  
      List of Velocity context names #)%N+Odnr  
      velocity的context列表 ;% *e}w0  
4ei .-  
:V2j'R,  
struts.velocity.manager.classname {+[~;ISL  
      org.apache.struts2.views.velocity.VelocityManager implementation class =K2Dxu_:  
      org.apache.struts2.views.velocity.VelocityManager接口名 r @~T}<I  
GK}?*Lf s  
struts.velocity.toolboxlocation Yfy6o6*:  
      The location of the Velocity toolbox 3Z'{#<1>^;  
      velocity工具盒的位置 $P]% Px!x  
struts.xslt.nocache EU,4qO  
      Whether or not XSLT templates should not be cached xiU-}H'o  
      是否XSLT模版应该被缓存 : o$ R@l  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八