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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 d*2u}1Jo8  
Vc _:*  
struts.action.extension ^^U%cuKg  
      The URL extension to use to determine if the request is meant for a Struts action pM9yOY  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2e59Ez%k6  
^&Q< tN 7  
struts.configuration E=]]b;u-n  
      The org.apache.struts2.config.Configuration implementation class et` 0Je  
        org.apache.struts2.config.Configuration接口名 QD$Gw-U-l=  
\x(^]/@  
struts.configuration.files hO \/  
      A list of configuration files automatically loaded by Struts s1 bU  
      struts自动加载的一个配置文件列表 hO3 {  
Wo!;K|~P  
struts.configuration.xml.reload u h )o  
      Whether to reload the XML configuration or not CW p#^1F  
      是否加载xml配置(true,false) 1'Rmg\(  
Xh}&uZ`A  
struts.continuations.package 9 I{/zKq  
      The package containing actions that use Rife continuations E{% SR  
      含有actions的完整连续的package名称 g*J@[y;  
~x#vZ=]8  
struts.custom.i18n.resources Bd# TUy  
      Location of additional localization properties files to load |55dbL$w  
      加载附加的国际化属性文件(不包含.properties后缀) E7`qmn  
64umul  
struts.custom.properties +rc SL8C  
      Location of additional configuration properties files to load C6]OAUXy:F  
      加载附加的配置文件的位置 $gvr -~  
X{\jK]O  
),` 8eQC  
struts.devMode v+6e;xl8  
      Whether Struts is in development mode or not lP3h<j  
      是否为struts开发模式 orqJ[!u)`  
y' [LNp V  
struts.dispatcher.parametersWorkaround cU8xUpq  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ||Y<f *  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~=cmM  
S&wzB)#'  
struts.enable.DynamicMethodInvocation S-c ^eLzQ  
      Allows one to disable dynamic method invocation from the URL }`_(<H  
        允许动态方法调用 j_GBH8 `  
>;9NtoE  
struts.freemarker.manager.classname #]Y*0Wzpfn  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class T$P-<s  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /pykW_`/-  
y vI<4F  
struts.i18n.encoding |<c WllN  
      The encoding to use for localization messages "HK/u(z)  
      国际化信息内码 J'Sm0  
D(\$i.,b2  
struts.i18n.reload Bm/YgQi  
      Whether the localization messages should automatically be reloaded _ck[&Q  
      是否国际化信息自动加载 xaW{I7FfG  
i=rH7k  
struts.locale  uMd. j$$  
      The default locale for the Struts application BJy;-(JP  
      默认的国际化地区信息 pj8azFZ  
g7n "  
struts.mapper.class VaR/o#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class E!mmLVa9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 b1-&v|L  
Q2QY* A  
struts.multipart.maxSize (MLhaux-  
      The maximize size of a multipart request (file upload) >5ChcefH  
      multipart请求信息的最大尺寸(文件上传用) , ;jGJr  
8ObeiVXf)  
struts.multipart.parser  f^b K=#  
      The org.apache.struts2.dispatcher.multipart. ^sClz*%?  
      MultiPartRequest parser implementation for a multipart request (file upload) N$#\Xdo  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) iqPBsIW  
'*T]fND4  
#*^+F?o,(  
struts.multipart.saveDir 5-vo0:hk  
      The directory to use for storing uploaded files ^+/kr/  
      设置存储上传文件的目录夹 %l !xkCKA  
{x@|VuL=  
struts.objectFactory xDjV `E]  
      The com.opensymphony.xwork2.ObjectFactory implementation class kbI/4IRW  
      com.opensymphony.xwork2.ObjectFactory接口(spring) NX,-;v  
tSHFm-q`  
struts.objectFactory.spring.autoWire 0xMj=3']  
      Whether Spring should autoWire or not 3)N\'xFh@  
      是否自动绑定Spring w/m:{cHk  
7wVH8^|  
struts.objectFactory.spring.useClassCache ^4pto$#@O:  
      Whether Spring should use its class cache or not ^?GmrHC)  
      是否spring应该使用自身的cache y7lWeBnC  
bw S*]!*  
struts.objectTypeDeterminer z&}-8JykH  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class go'j/4Tp  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /'wF2UR  
^jSsa  
struts.serve.static.browserCache T@ YGB]*Y  
If static content served by the Struts filter should set browser caching header properties or not h{'t5&yY  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }NCL>l;q  
/aqEJGG>  
struts.serve.static +%0z`E\?M#  
      Whether the Struts filter should serve static content or not bS!\#f%9"  
      是否struts过滤器应该提供静态内容 vjUp *R>h  
,6"l(]0  
struts.tag.altSyntax 8e2?tmWM  
      Whether to use the alterative syntax for the tags or not *hY2.t; X  
      是否可以用替代的语法替代tags L%\b'fs  
wkb$^mU  
struts.ui.templateDir A9:NKY{z  
      The directory containing UI templates *?% k#S  
      UI templates的目录夹 B[o`k]]  
kOrl\_!z3  
struts.ui.theme !0}\&<8/m  
      The default UI template theme WO*9+\[v  
      默认的UI template主题 LKF/u` 0dP  
^J/)6/TMXm  
struts.url.http.port k$i'v:c|:i  
      The HTTP port used by Struts URLs =o7}]k7  
      设置http端口 4P8*k[.  
Jjm|9|C,  
struts.url.https.port K[?Xm"4  
      The HTTPS port used by Struts URLs n1v5Q2xw  
      设置https端口 g@ith&*=h  
[(mlv42"  
struts.url.includeParams 3iX?~  
      The default includeParams method to generate Struts URLs |U' I/A  
      在url中产生 默认的includeParams *_-'/i  
j`>^1Q  
Y%aWK~O  
struts.velocity.configfile rZ03x\2  
      The Velocity configuration file path -ysn&d\rV  
      velocity配置文件路径 [2c{k  
ROb\Rx m  
struts.velocity.contexts (p)!Mq "^  
      List of Velocity context names sM2MLh'D  
      velocity的context列表 b/("Y.r=  
6W2hr2Zy9  
$'wq1u  
struts.velocity.manager.classname  %Y nmuZ  
      org.apache.struts2.views.velocity.VelocityManager implementation class <[~,uR7  
      org.apache.struts2.views.velocity.VelocityManager接口名 S?0$?w?  
l.=p8-/$'7  
struts.velocity.toolboxlocation ,. EBOUW^  
      The location of the Velocity toolbox gFN 9jM  
      velocity工具盒的位置 uaPx"  
struts.xslt.nocache ^TdZ*($5  
      Whether or not XSLT templates should not be cached ~N0 sJ%  
      是否XSLT模版应该被缓存 V!/:53  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八