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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 l&A`  
M:SxAo-D2  
struts.action.extension '} kq@  
      The URL extension to use to determine if the request is meant for a Struts action ;i#gk%- 2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^,5.vfES  
X>6a@$MxP  
struts.configuration IyuT=A~Ki  
      The org.apache.struts2.config.Configuration implementation class 7A|jnm  
        org.apache.struts2.config.Configuration接口名 4>E2G:  
@&W?e?O ~G  
struts.configuration.files ,i,=LGn  
      A list of configuration files automatically loaded by Struts nJya1AH;  
      struts自动加载的一个配置文件列表 ,{50zx2  
z,7^dlT  
struts.configuration.xml.reload o%5bg(  
      Whether to reload the XML configuration or not tVcs r  
      是否加载xml配置(true,false) o|W? a#_\  
rh_({rvQ  
struts.continuations.package !!86Sv  
      The package containing actions that use Rife continuations 5xHiq &d.E  
      含有actions的完整连续的package名称 8#Z5-",iw  
HKkf+)%)x  
struts.custom.i18n.resources PS22$_}   
      Location of additional localization properties files to load IXN4?=)I  
      加载附加的国际化属性文件(不包含.properties后缀) M5V1j(URE  
| <*(`\ 'w  
struts.custom.properties !%X`c94  
      Location of additional configuration properties files to load .'1j5Y-l`N  
      加载附加的配置文件的位置 B# fzMaC  
I@ k8^  
K5lp -F  
struts.devMode F%d"gF0qu  
      Whether Struts is in development mode or not rh&onp O  
      是否为struts开发模式 hrD6r=JT<~  
q': wSu u  
struts.dispatcher.parametersWorkaround k#(cZ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic QA(,K}z~^S  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^IpiNY/%Q  
h'x~"k1  
struts.enable.DynamicMethodInvocation ^!qmlx*  
      Allows one to disable dynamic method invocation from the URL 0)]1)z(P  
        允许动态方法调用 pQY>  
SA1/U  
struts.freemarker.manager.classname G~L?q~b  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0d ->$gb  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 | dwxea  
VWv0\:,G  
struts.i18n.encoding ODEXQl}R  
      The encoding to use for localization messages 1znV>PO!  
      国际化信息内码 0Y 2^}u@5  
[BBKj)IK  
struts.i18n.reload af(JoX*U  
      Whether the localization messages should automatically be reloaded e;5Lv9?C8  
      是否国际化信息自动加载 )''wu\7A)'  
%6'D!H?d  
struts.locale )1}g7:  
      The default locale for the Struts application J#DcT@  
      默认的国际化地区信息 ELF`u WG E  
tJPRR_nZv  
struts.mapper.class )X;cS} yp  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )<F\IM  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 }Xi#x*-D  
7y Te]O  
struts.multipart.maxSize *h:EE6|  
      The maximize size of a multipart request (file upload) q'U5QyuC  
      multipart请求信息的最大尺寸(文件上传用) mN 6`8 [  
}%ThnFFBw  
struts.multipart.parser Y0\\(0j64  
      The org.apache.struts2.dispatcher.multipart. I JY5wP1"  
      MultiPartRequest parser implementation for a multipart request (file upload) b,R'T+4[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5]l7Z35  
PAU+C_P  
@a\SR'8  
struts.multipart.saveDir BpG'e-2  
      The directory to use for storing uploaded files FT>~ES]cQd  
      设置存储上传文件的目录夹 TrU@mYnE  
je4&'vyU  
struts.objectFactory bV*zMoD#  
      The com.opensymphony.xwork2.ObjectFactory implementation class A9Wqz"[  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #L:P R>  
s;7qNwYO  
struts.objectFactory.spring.autoWire ~<- ci  
      Whether Spring should autoWire or not bxSKe6l  
      是否自动绑定Spring v-fi9$#^  
lp-Zx[#`}C  
struts.objectFactory.spring.useClassCache ;kW}'&Ug  
      Whether Spring should use its class cache or not .00=U;H%`  
      是否spring应该使用自身的cache @1?]$?u&  
mv*T=N8fC  
struts.objectTypeDeterminer  7EP|X.  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class G+ v, Hi1  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `u\z!x'  
QlYs7zZ  
struts.serve.static.browserCache C!{AnWf  
If static content served by the Struts filter should set browser caching header properties or not 4ylDD|) rO  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 NTXL>Q*e  
Tj21YK.mk  
struts.serve.static Ogke*qM  
      Whether the Struts filter should serve static content or not mzE$aFu8  
      是否struts过滤器应该提供静态内容 V.Ba''E7  
#} ~p^ 0  
struts.tag.altSyntax BU:Ecchbr  
      Whether to use the alterative syntax for the tags or not aaz"`,7_  
      是否可以用替代的语法替代tags fb"J Bc}X  
AuDR |;i  
struts.ui.templateDir HIX=MprL<  
      The directory containing UI templates KT];SF ^Y  
      UI templates的目录夹 nl'J.dJe  
XK%W^a*x  
struts.ui.theme }or2 $\>m  
      The default UI template theme L+L"$  
      默认的UI template主题 `Ix s7{&jU  
#K#Mv /  
struts.url.http.port `xX4!^0Hm  
      The HTTP port used by Struts URLs Xvu)  
      设置http端口 P 0Efh?oZ  
$35,\ZO>  
struts.url.https.port VXkAFgO  
      The HTTPS port used by Struts URLs KIKq9*  
      设置https端口 nEd M_JPv  
umm\r&]A  
struts.url.includeParams *"ykTqa  
      The default includeParams method to generate Struts URLs L8:]`M Q0  
      在url中产生 默认的includeParams chO'Q+pw  
y)p$_.YFF  
EItxRHV5  
struts.velocity.configfile 4ypRyO  
      The Velocity configuration file path eA1k)gjE  
      velocity配置文件路径 E5*-;>2c  
oE!hF}O  
struts.velocity.contexts }0BL0N`_  
      List of Velocity context names NqT1buU#  
      velocity的context列表 8lOZ IbwS  
..jq[(;N  
C!7U<rI  
struts.velocity.manager.classname @1<omsl  
      org.apache.struts2.views.velocity.VelocityManager implementation class rkfQr9Vc  
      org.apache.struts2.views.velocity.VelocityManager接口名 9 V=<| 2  
8> Du  
struts.velocity.toolboxlocation d<^_w!4X}  
      The location of the Velocity toolbox }%!FMXe  
      velocity工具盒的位置 Lf^5Eo/ 5A  
struts.xslt.nocache (Bt;DM#>  
      Whether or not XSLT templates should not be cached J[}gku?C;  
      是否XSLT模版应该被缓存 &;ZC<?wS  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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