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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 xp7,0'(;  
S6 $S%$  
struts.action.extension y+(<Is0w  
      The URL extension to use to determine if the request is meant for a Struts action /R''R:j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 vPR1 TMi>  
rnIv|q6@  
struts.configuration <.HHV91  
      The org.apache.struts2.config.Configuration implementation class kN`[Q$B  
        org.apache.struts2.config.Configuration接口名 0(Vbji  
Z9i,#/  
struts.configuration.files L4zSro:Si  
      A list of configuration files automatically loaded by Struts &s"&rFFO[  
      struts自动加载的一个配置文件列表 =9\=5_V  
 uw LT$  
struts.configuration.xml.reload Y` LZ/Tgk  
      Whether to reload the XML configuration or not ~{n_rKYV  
      是否加载xml配置(true,false) UQ$dO2^  
m1gJ"k6 `j  
struts.continuations.package ]"dZE2!  
      The package containing actions that use Rife continuations b*nyt F  
      含有actions的完整连续的package名称 ;J2U5Y NO  
Gnl6>/L,  
struts.custom.i18n.resources $9y]>R  
      Location of additional localization properties files to load  k1L GT&  
      加载附加的国际化属性文件(不包含.properties后缀) }Tu_?b`RUm  
n #p6i  
struts.custom.properties Gc~A,_(  
      Location of additional configuration properties files to load 8!TbJVR  
      加载附加的配置文件的位置 s.6S :  
ba% [!  
29Kuq;6  
struts.devMode x1/Usupi  
      Whether Struts is in development mode or not 4.,e3  
      是否为struts开发模式 3hmuF6y~  
q+~z# jFX  
struts.dispatcher.parametersWorkaround +LQ2To  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &m5WmEz>`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]RPv@z:V  
{uM0J$P:  
struts.enable.DynamicMethodInvocation E;$t|~ #  
      Allows one to disable dynamic method invocation from the URL Ufq"_^4  
        允许动态方法调用 Wv77ef  
~`#.ZMO  
struts.freemarker.manager.classname )FMpfC>An  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class H$Q$3Q!`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Y5-X)f  
R=i$*6}a  
struts.i18n.encoding "h7Z(Y  
      The encoding to use for localization messages s$C;31k  
      国际化信息内码 9$~D4T  
Aw4Qm2Kf  
struts.i18n.reload 1;fs`k0p  
      Whether the localization messages should automatically be reloaded `.MM|6  
      是否国际化信息自动加载 %N/I;`  
kX'1.<[  
struts.locale XC?H  
      The default locale for the Struts application h"l{cDk  
      默认的国际化地区信息 |QAmN> 7U  
CLQ\Is^]  
struts.mapper.class zO2<Igb  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %p/Qz|W  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 nkS6A}i3o  
(^qcX;-  
struts.multipart.maxSize *7ap[YXZ\w  
      The maximize size of a multipart request (file upload) #E^%h  
      multipart请求信息的最大尺寸(文件上传用) pP{b!1  
e:AB!k^xp$  
struts.multipart.parser dWR?1sV|e  
      The org.apache.struts2.dispatcher.multipart. n-Dr/c4  
      MultiPartRequest parser implementation for a multipart request (file upload) 1Lqs>*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) y3 LWh}~E  
4J!1$   
cC"7Vt9b  
struts.multipart.saveDir 'V4.umj1~  
      The directory to use for storing uploaded files t82Bp[t  
      设置存储上传文件的目录夹 IhM-a Y y5  
CS50wY  
struts.objectFactory K.o?g?&<  
      The com.opensymphony.xwork2.ObjectFactory implementation class !h?N)9e  
      com.opensymphony.xwork2.ObjectFactory接口(spring) b7aAP*$  
/P^@dL  
struts.objectFactory.spring.autoWire '(+l77G  
      Whether Spring should autoWire or not 36J)O-Ti  
      是否自动绑定Spring { zlq6z  
^nkwT~Bya  
struts.objectFactory.spring.useClassCache mTZlrkT  
      Whether Spring should use its class cache or not 6jCg7Su]  
      是否spring应该使用自身的cache sFSrMI#R  
vIN6W   
struts.objectTypeDeterminer ovm*,La)g  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |1J "r.K  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 d>@{!c-  
m1\>v?=K  
struts.serve.static.browserCache T1n GBl\(  
If static content served by the Struts filter should set browser caching header properties or not *fSa8CV  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }mu8fm'  
dam.D.o"  
struts.serve.static 4z#CkT  
      Whether the Struts filter should serve static content or not dMRwQejY{7  
      是否struts过滤器应该提供静态内容 $N,9 e  
+ZizT.$&  
struts.tag.altSyntax #g~~zwx/N  
      Whether to use the alterative syntax for the tags or not @{+*ea7M(`  
      是否可以用替代的语法替代tags u>k;P UH4  
&_q;X;}  
struts.ui.templateDir um&N|5lHb  
      The directory containing UI templates 5mER&SX  
      UI templates的目录夹 5:ir il  
(ter+rTv  
struts.ui.theme Y]Su<t gX?  
      The default UI template theme p7.@ez ;  
      默认的UI template主题 )byQ=-< 1  
jG)>{D  
struts.url.http.port _'2r=a#`  
      The HTTP port used by Struts URLs {[r'+=}l\S  
      设置http端口 [C771~BL>  
1;? L:A  
struts.url.https.port =xG9a_^v  
      The HTTPS port used by Struts URLs pC5-,Z;8  
      设置https端口 `q$DNOrS  
f8[2$i*cL  
struts.url.includeParams Plm3vk=  
      The default includeParams method to generate Struts URLs Q=uwmg86  
      在url中产生 默认的includeParams %*eZoLD g]  
U> q&+:+  
!ae@g q'  
struts.velocity.configfile `e`4[I  
      The Velocity configuration file path -z'@Mh|i6l  
      velocity配置文件路径 vaTXu*   
M$! 0ikh  
struts.velocity.contexts \+cQiN b@  
      List of Velocity context names Ls|;gewp  
      velocity的context列表 35&&*$Jm  
M{~eI  
N|[a<ut<  
struts.velocity.manager.classname "T~Ps$  
      org.apache.struts2.views.velocity.VelocityManager implementation class Bm~>w`1wK  
      org.apache.struts2.views.velocity.VelocityManager接口名 }d6g{`  
QL|Vke:N4  
struts.velocity.toolboxlocation w`!Yr:dU  
      The location of the Velocity toolbox _`D760q}  
      velocity工具盒的位置 ef!I |.FW  
struts.xslt.nocache Ln`c DZSM  
      Whether or not XSLT templates should not be cached W_iP/xL  
      是否XSLT模版应该被缓存 v'_tna6`O  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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