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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 FieDESsX>  
> 1(J  
struts.action.extension hJ$9Hb  
      The URL extension to use to determine if the request is meant for a Struts action M+0PEf.  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \n t~K}a  
)q[P&f(h  
struts.configuration {9yf0n  
      The org.apache.struts2.config.Configuration implementation class BY.k.]/  
        org.apache.struts2.config.Configuration接口名 e{7\pQK  
Bb:C^CHIQm  
struts.configuration.files qa-FLUkIk!  
      A list of configuration files automatically loaded by Struts r=&,2meo  
      struts自动加载的一个配置文件列表 4 s ax  
'w27Lt'V  
struts.configuration.xml.reload ni&|;"Nt-  
      Whether to reload the XML configuration or not #]x3(}3W  
      是否加载xml配置(true,false) HeO:=OE~>  
 kDE-GX"Y  
struts.continuations.package ~\mh\a&  
      The package containing actions that use Rife continuations ujRXAN@mC  
      含有actions的完整连续的package名称 +4.s4&f)  
 #D4  
struts.custom.i18n.resources {BmqUoZrC  
      Location of additional localization properties files to load G0{Z@CvO'  
      加载附加的国际化属性文件(不包含.properties后缀) T#H^ }`  
!uQT4< g  
struts.custom.properties ^3TNj  
      Location of additional configuration properties files to load N(Ru/9!y"  
      加载附加的配置文件的位置 Lx wi"ndP  
|82q|@e  
ly-(F2  
struts.devMode W;'fAohr  
      Whether Struts is in development mode or not E?G'F3i  
      是否为struts开发模式 {YgU23;q  
iCPm7AU  
struts.dispatcher.parametersWorkaround bDM},(  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic MzD1sWmK  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a(|6)w-  
%(1O jfZc  
struts.enable.DynamicMethodInvocation ~<?Zj  
      Allows one to disable dynamic method invocation from the URL TIKkS*$  
        允许动态方法调用 I@MG ?ZQ  
uhh7Ft#H  
struts.freemarker.manager.classname Y>8Qj+d  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Qz,2PO  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 c1"wS*u  
wX0D^ )NtF  
struts.i18n.encoding kU[hB1D5  
      The encoding to use for localization messages F#gA2VCm  
      国际化信息内码 l!f_ +lv  
Qds<j{2  
struts.i18n.reload "esuLQC  
      Whether the localization messages should automatically be reloaded o{G*7V@H  
      是否国际化信息自动加载 A$=ny6  
:$$~$P  
struts.locale nbF<K?  
      The default locale for the Struts application nwU],{(Hgr  
      默认的国际化地区信息 8f9wUPr  
Hw o _;fV  
struts.mapper.class 1ysfpX{=  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -Cs( 3[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 nzC *mPX8  
uQIPnd(V  
struts.multipart.maxSize cuN9R G  
      The maximize size of a multipart request (file upload) Z*m^K%qJ  
      multipart请求信息的最大尺寸(文件上传用) YGJ!!(~r  
Q>,&@  
struts.multipart.parser w$:\!FImx  
      The org.apache.struts2.dispatcher.multipart. [kg?q5F)  
      MultiPartRequest parser implementation for a multipart request (file upload) !0W(f.A{K  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;OlnIxH(W  
1'qXT{f/~  
~.: { Ik]  
struts.multipart.saveDir 6G2~'zqPc~  
      The directory to use for storing uploaded files < D/K[mz-  
      设置存储上传文件的目录夹 >qo!#vJc a  
iT}>a30]B  
struts.objectFactory R iLl\S#  
      The com.opensymphony.xwork2.ObjectFactory implementation class "E\vdhk  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,~Mf2Y#m0p  
%J M$]  
struts.objectFactory.spring.autoWire zMv`<m%  
      Whether Spring should autoWire or not -D~K9u]U_  
      是否自动绑定Spring J\y^T3Z  
mD'nF1o Ly  
struts.objectFactory.spring.useClassCache O>' }q/  
      Whether Spring should use its class cache or not 1 pVw,}  
      是否spring应该使用自身的cache &<N8d(  
9^XZ|`  
struts.objectTypeDeterminer ^I!Z)/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :}e<  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |M;Nq@bRv  
MJ JC6:  
struts.serve.static.browserCache [P &B  
If static content served by the Struts filter should set browser caching header properties or not gD9CA*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中  Zi~.  
1eD#-tzV  
struts.serve.static pTCD1)  
      Whether the Struts filter should serve static content or not }_nBegv  
      是否struts过滤器应该提供静态内容 rRRh-%.RU  
.V hU:_u  
struts.tag.altSyntax ^*}D*=>\  
      Whether to use the alterative syntax for the tags or not 7Mh'x:p  
      是否可以用替代的语法替代tags kH eD(Ea  
j2D!=PK;  
struts.ui.templateDir v WXo#  
      The directory containing UI templates sE?%;uBb  
      UI templates的目录夹 #&'S-XE+  
tg\Nm7I  
struts.ui.theme %unn{92)  
      The default UI template theme lwQ!sH[M  
      默认的UI template主题 PaaMh[OmG  
B~I ]3f  
struts.url.http.port E{T3Xwg  
      The HTTP port used by Struts URLs P8YnKyI,.  
      设置http端口 LA6XTgcu  
Yh1</C  
struts.url.https.port 6]1RxrAV  
      The HTTPS port used by Struts URLs L ci?  
      设置https端口 Q#%LIkeq  
SSI> +A  
struts.url.includeParams <.ZIhDiEl  
      The default includeParams method to generate Struts URLs aH"d~Y^  
      在url中产生 默认的includeParams #`_W?-%^  
i3)3. WK^  
jwk+&S  
struts.velocity.configfile 8XH;<z<oJ  
      The Velocity configuration file path =8l' [  
      velocity配置文件路径 k M /:n  
0kUhz\"R:q  
struts.velocity.contexts &`m.]RV  
      List of Velocity context names P'Y(f!%  
      velocity的context列表 u0wu\  
96\FJHt Z  
Qr R+3kxM  
struts.velocity.manager.classname %bP+P(vZ  
      org.apache.struts2.views.velocity.VelocityManager implementation class Vx!ZF+  
      org.apache.struts2.views.velocity.VelocityManager接口名 I%4eX0QY=z  
 c k;:84  
struts.velocity.toolboxlocation 1O Ft}>1  
      The location of the Velocity toolbox lz`\Q6rZ  
      velocity工具盒的位置 #X)DFAtb  
struts.xslt.nocache s>DFAu!  
      Whether or not XSLT templates should not be cached W>' DQB  
      是否XSLT模版应该被缓存 @lzq`SzM  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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