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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 vk>b#%1{  
"H&"(=  
struts.action.extension (u]N  
      The URL extension to use to determine if the request is meant for a Struts action Iw<jT|y)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H)aQ3T4N5  
%0$qP0|`3I  
struts.configuration 4n %?YQ[t  
      The org.apache.struts2.config.Configuration implementation class Gcb|W&  
        org.apache.struts2.config.Configuration接口名 +uBLk0/)>  
?d4m!HgR   
struts.configuration.files 70lfb`  
      A list of configuration files automatically loaded by Struts  Y!WG)u5  
      struts自动加载的一个配置文件列表 UG'bOF4  
`'\t$nU  
struts.configuration.xml.reload k{VE1@  
      Whether to reload the XML configuration or not }lK3-2Pk  
      是否加载xml配置(true,false) }U SC1J  
Yp0/Ab(v  
struts.continuations.package FSRm|  
      The package containing actions that use Rife continuations 0QvT   
      含有actions的完整连续的package名称 })w*m  
xil[#W]7Ge  
struts.custom.i18n.resources l^d[EL+  
      Location of additional localization properties files to load _:+ KMR  
      加载附加的国际化属性文件(不包含.properties后缀) `+t.!tv!  
gPu2G/Y  
struts.custom.properties it> r+%  
      Location of additional configuration properties files to load MWNPPYww  
      加载附加的配置文件的位置 oQv3GpO  
pDQ}*   
0<PR+Iv*i  
struts.devMode lpRR&  
      Whether Struts is in development mode or not @:tj<\G]  
      是否为struts开发模式 l<Q>N|1#k%  
LTJc,3\,  
struts.dispatcher.parametersWorkaround DI`%zLDcY  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic OEPa|rb  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) SxK:]Aw  
k|BHnj  
struts.enable.DynamicMethodInvocation BYY RoE[P  
      Allows one to disable dynamic method invocation from the URL s/:Fwr4q#a  
        允许动态方法调用 `z0{S!  
3+J0!FVla  
struts.freemarker.manager.classname ?0_7?yTR/  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class JbO ~n )%x  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 w#N?l!5  
m^_6:Q0F!8  
struts.i18n.encoding ^E6d`2w-  
      The encoding to use for localization messages mR8W]'gl.L  
      国际化信息内码 >K# ,cxY  
{k5X*W  
struts.i18n.reload ^uS/r#l  
      Whether the localization messages should automatically be reloaded [ BT)l]  
      是否国际化信息自动加载 E42eOGp9i  
v(l eide  
struts.locale cL8#S>>u.  
      The default locale for the Struts application W>M~Sk$v  
      默认的国际化地区信息 N~pIC2Woo  
dY" }\v6  
struts.mapper.class M HL("v(@B  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class L:M0pk{T  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :Vg}V"QR  
*?yJkJ"  
struts.multipart.maxSize F8e<}v&7R  
      The maximize size of a multipart request (file upload) JaWv]@9*  
      multipart请求信息的最大尺寸(文件上传用) uhV0J97  
)'Wb&A'  
struts.multipart.parser NZu)j["  
      The org.apache.struts2.dispatcher.multipart. ?zq+jLyo  
      MultiPartRequest parser implementation for a multipart request (file upload) vRA',(](  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }.)s%4p8  
69kJC/1+l  
`\<37E\N}  
struts.multipart.saveDir k:A|'NK~  
      The directory to use for storing uploaded files R7~Yw*#,  
      设置存储上传文件的目录夹 +*&cz  
&~B5.sppnB  
struts.objectFactory rZbEvS  
      The com.opensymphony.xwork2.ObjectFactory implementation class O`cu_  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Uz%Z&K  
,pq{& A  
struts.objectFactory.spring.autoWire j2 h[70fWC  
      Whether Spring should autoWire or not "`A:(<x  
      是否自动绑定Spring }8'&r(cN4  
C9Bh@v%90^  
struts.objectFactory.spring.useClassCache Bb Jkdt7  
      Whether Spring should use its class cache or not K8^kJSF\  
      是否spring应该使用自身的cache DE{h5-g  
rFJ[dz  
struts.objectTypeDeterminer F5gObIJtuY  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class S"snB/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 iO!6}yJ*V  
Y9r3XhVI  
struts.serve.static.browserCache X`zC ^z}  
If static content served by the Struts filter should set browser caching header properties or not myQ&%M gx  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w#G2-?aj  
Z& !!]"I  
struts.serve.static "oc$  
      Whether the Struts filter should serve static content or not !)NidG  
      是否struts过滤器应该提供静态内容 8{&["?  
ySdN;d:q  
struts.tag.altSyntax E\)eu1Hw4B  
      Whether to use the alterative syntax for the tags or not i 6no;}j  
      是否可以用替代的语法替代tags x.DzViP/  
qFR dg V>8  
struts.ui.templateDir (!K+P[g  
      The directory containing UI templates 0x)dnq\  
      UI templates的目录夹 P-z`c\Rt  
N=,j}FY  
struts.ui.theme {_ V0  
      The default UI template theme PE@+w#i7*  
      默认的UI template主题 utO.WfWP  
iL?iz?+.%@  
struts.url.http.port AO 0!liQ  
      The HTTP port used by Struts URLs *:_~Nn9_R;  
      设置http端口 A[/I#Im7  
KS>$`ax,  
struts.url.https.port mVH,HqsXa  
      The HTTPS port used by Struts URLs 2:v<qX  
      设置https端口 #n})X,ip2  
z?.(3oLT  
struts.url.includeParams V 7<eQ0;m  
      The default includeParams method to generate Struts URLs delf ]  
      在url中产生 默认的includeParams NCt~9xS.  
p!"(s/=  
sk X]8  
struts.velocity.configfile 13f<0wg  
      The Velocity configuration file path .)PqN s:  
      velocity配置文件路径 aw$Y`6,S  
INNAYQ  
struts.velocity.contexts Lx+`<<_dJ  
      List of Velocity context names G%hO\EO  
      velocity的context列表 70iH0j)  
QUP|FIpZ  
<f%/px%1  
struts.velocity.manager.classname wGXwzU  
      org.apache.struts2.views.velocity.VelocityManager implementation class v}`1)BUeF  
      org.apache.struts2.views.velocity.VelocityManager接口名 }:#dV B+  
' iQ9hQjD  
struts.velocity.toolboxlocation \graMu}-  
      The location of the Velocity toolbox fi=?n{e'  
      velocity工具盒的位置 )/%S=c  
struts.xslt.nocache YN#XmX%  
      Whether or not XSLT templates should not be cached ba&o;BLUy  
      是否XSLT模版应该被缓存 ;QPy:x3  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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