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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /!JpmI  
s:R>uGYOd  
struts.action.extension y*\ M7}](  
      The URL extension to use to determine if the request is meant for a Struts action sG0cN;I]t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 eOD;@4lR  
gJ c5Y  
struts.configuration U v[:Aj  
      The org.apache.struts2.config.Configuration implementation class vp4!p~C{  
        org.apache.struts2.config.Configuration接口名 0UWLs_k:  
vV#Jl) A  
struts.configuration.files 1 < <`T%&  
      A list of configuration files automatically loaded by Struts B HoZ}1_  
      struts自动加载的一个配置文件列表 y= cBpC  
05DK-Wh?  
struts.configuration.xml.reload 0OEyJ|g  
      Whether to reload the XML configuration or not Kdx?s;i  
      是否加载xml配置(true,false) *u 3K8"XZ  
}.o rfW  
struts.continuations.package JF%+T yMe  
      The package containing actions that use Rife continuations U&wVe$  
      含有actions的完整连续的package名称 WsJ3zZc  
6g@j,iFy  
struts.custom.i18n.resources =o{zw+|% %  
      Location of additional localization properties files to load x~j%  
      加载附加的国际化属性文件(不包含.properties后缀) /r[0Dw  
/Kwo^Q{  
struts.custom.properties g?^o++  
      Location of additional configuration properties files to load WSi Utf|g  
      加载附加的配置文件的位置 UG&/0{j5XV  
ZaH<\`=%  
YmB z$  
struts.devMode zg)Z2?K|;u  
      Whether Struts is in development mode or not -g;iMqh#  
      是否为struts开发模式 lsY5QE:Qrp  
G0CmY43  
struts.dispatcher.parametersWorkaround Rc0OEs%7P  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic tE3!;  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) T1M4@j  
]*%0CDY6`N  
struts.enable.DynamicMethodInvocation rm+|xvZ4  
      Allows one to disable dynamic method invocation from the URL ,hT t]w  
        允许动态方法调用 @,i:fY  
QI=",vma u  
struts.freemarker.manager.classname c/x ^I{b*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class HS="t3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 BtVuI5*h  
tP"C >#LO  
struts.i18n.encoding <[8at6;  
      The encoding to use for localization messages \uQ(-ji  
      国际化信息内码 3"6lPUS  
*S:^3{.m=  
struts.i18n.reload Dx4?6  
      Whether the localization messages should automatically be reloaded ,l&Dt,  
      是否国际化信息自动加载 a7%5Qg9B;  
\P^WUWY  
struts.locale ou6yi; l%  
      The default locale for the Struts application :nC Gqg  
      默认的国际化地区信息 2?z3s|+[  
9K@`n:Rw  
struts.mapper.class 7xO =:*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {tOu+zy  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Owo2DsT t  
rt_%_f>qd  
struts.multipart.maxSize GXYmJ4wR  
      The maximize size of a multipart request (file upload) }XX)U_ x  
      multipart请求信息的最大尺寸(文件上传用) d2Z5HFtY  
Urm&4&y  
struts.multipart.parser ;8'hvc3i$  
      The org.apache.struts2.dispatcher.multipart. 8uP,#D<wZ  
      MultiPartRequest parser implementation for a multipart request (file upload) ]EnB`g(4;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3 i Id>  
3yszf Wr  
Ckj2$c~  
struts.multipart.saveDir d/v{I  
      The directory to use for storing uploaded files M56^p ,  
      设置存储上传文件的目录夹 FDbb/6ku  
Xx~OZ^t&Vn  
struts.objectFactory ^vn8s~#  
      The com.opensymphony.xwork2.ObjectFactory implementation class s{(aW5$!s  
      com.opensymphony.xwork2.ObjectFactory接口(spring)  s X.L  
-y5^xR  
struts.objectFactory.spring.autoWire Ynl^Z  
      Whether Spring should autoWire or not Oz'x5/%G  
      是否自动绑定Spring E2 Q[  
:1^ R$0d  
struts.objectFactory.spring.useClassCache 5z~rl}`v  
      Whether Spring should use its class cache or not )e d5~ok  
      是否spring应该使用自身的cache qjFz}6  
N7Kq$G2O  
struts.objectTypeDeterminer V7U&8UPb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >v7fR<(%s  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0"ksNnxK  
m2F2  
struts.serve.static.browserCache = NHuj.  
If static content served by the Struts filter should set browser caching header properties or not Jr$,w7tQn@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9^6E> S{=  
G0oY`WXOB  
struts.serve.static %X7R_>.   
      Whether the Struts filter should serve static content or not >Akrbmh5  
      是否struts过滤器应该提供静态内容 }Qyuy~-&^  
4[m})X2(  
struts.tag.altSyntax xP#vAR  
      Whether to use the alterative syntax for the tags or not H=Scrvfx  
      是否可以用替代的语法替代tags Q97F5ru6  
a\;1%2a  
struts.ui.templateDir sL" h  
      The directory containing UI templates me:~q#k  
      UI templates的目录夹 =lT~  
RfH.WXi  
struts.ui.theme 3 <}\{jT  
      The default UI template theme jBZlN Ew  
      默认的UI template主题 ,I6jfXI4  
yHhx- `  
struts.url.http.port .1n=&d|  
      The HTTP port used by Struts URLs 1P4cB w%  
      设置http端口 <7'`N\a  
G&,1 NjSi  
struts.url.https.port |osu4=s|  
      The HTTPS port used by Struts URLs  lS@0 $  
      设置https端口 t/55tL  
;iT@41)7  
struts.url.includeParams Lzmdy0!'  
      The default includeParams method to generate Struts URLs <A|X4;  
      在url中产生 默认的includeParams Z|3 fhaT  
$HgBzZ7A2  
be?>C 5  
struts.velocity.configfile S!+c1q: ].  
      The Velocity configuration file path ot\  FZ  
      velocity配置文件路径 yP$@~L[!  
w O H{L  
struts.velocity.contexts -R %T Dx  
      List of Velocity context names 5k:SD7^b  
      velocity的context列表 pK`1pfih  
\^o8qw'pt  
A]0A,A0  
struts.velocity.manager.classname f3yH4r?;w  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z2n Jw  
      org.apache.struts2.views.velocity.VelocityManager接口名 w8=&rzr8  
L hp  
struts.velocity.toolboxlocation `iHyGfm  
      The location of the Velocity toolbox D;nd_{%  
      velocity工具盒的位置 [U5@m]>^  
struts.xslt.nocache l7h6R$7; 0  
      Whether or not XSLT templates should not be cached Vz.G!*>Dg  
      是否XSLT模版应该被缓存 Zv]'9,cbk  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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