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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 R ^"*ut  
+.v+Opp,  
struts.action.extension ($!g= 7  
      The URL extension to use to determine if the request is meant for a Struts action ;)vs=DK:)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4O4}C#6(4  
)"g @"LJ=  
struts.configuration ?z3|^oU~d  
      The org.apache.struts2.config.Configuration implementation class U^Iq]L  
        org.apache.struts2.config.Configuration接口名 Y2|c;1~5$  
sfp.>bMj  
struts.configuration.files 9Qq%Fw_  
      A list of configuration files automatically loaded by Struts Icx)+Mq  
      struts自动加载的一个配置文件列表 aNgJm~K0P  
L?(m5u~b  
struts.configuration.xml.reload wS [k}  
      Whether to reload the XML configuration or not 1i#U&  
      是否加载xml配置(true,false) M8VsU*aU  
/px`FuJI(  
struts.continuations.package wsj5;(f+  
      The package containing actions that use Rife continuations )o;n2T#O  
      含有actions的完整连续的package名称 FX+^S?x.  
-h2 1  
struts.custom.i18n.resources SJlL!<i$  
      Location of additional localization properties files to load -3SRGr  
      加载附加的国际化属性文件(不包含.properties后缀) C9j5Pd5q1L  
"uBr]N:  
struts.custom.properties :eBp`dmn  
      Location of additional configuration properties files to load \wp8kSzC  
      加载附加的配置文件的位置 }7i}dyQv}  
k~]\kv=  
w69G6G(  
struts.devMode sh%%U  
      Whether Struts is in development mode or not "R[6Q ^vw  
      是否为struts开发模式 -];Hb'M.!e  
h: zi8;(  
struts.dispatcher.parametersWorkaround E6xWo)`%5s  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic hOe$h,E']  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) qX]ej 2  
_<jccQ  
struts.enable.DynamicMethodInvocation Mvk#$:8e  
      Allows one to disable dynamic method invocation from the URL %p};Di[V  
        允许动态方法调用 !^3j9<|@'  
Y|<1|wGG  
struts.freemarker.manager.classname ROj=XM:+  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class J!:v`gb#@A  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 2vW@d[<J  
wQU-r|  
struts.i18n.encoding r]%.,i7~8  
      The encoding to use for localization messages 30h1)nQ$h}  
      国际化信息内码 R[2h!.O8  
`4"&_ltD  
struts.i18n.reload d-"[-+)-  
      Whether the localization messages should automatically be reloaded u &{|f  
      是否国际化信息自动加载 %/wfYRp*  
9z(h8H  
struts.locale m A|"  
      The default locale for the Struts application tHo/Vly6Z  
      默认的国际化地区信息 j*jq2u  
u_S>`I  
struts.mapper.class "HbrYYRb'  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class s`,.&  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 fQ,(,^!;  
9'!I6;M  
struts.multipart.maxSize 4\Cb4jq%/  
      The maximize size of a multipart request (file upload) [mQ*];GA  
      multipart请求信息的最大尺寸(文件上传用) ^Cn_ ODjo  
[oS.B\Vc  
struts.multipart.parser }u~r.=  
      The org.apache.struts2.dispatcher.multipart. y{\(|j  
      MultiPartRequest parser implementation for a multipart request (file upload) }{e7wqS$&,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G$ Ii  
 \4&FW|mx  
Gp))1b';  
struts.multipart.saveDir ?[q.1O  
      The directory to use for storing uploaded files &?7+8n&+  
      设置存储上传文件的目录夹 }UHoa  
.g6(07TyV  
struts.objectFactory Ps{}SZn  
      The com.opensymphony.xwork2.ObjectFactory implementation class N+NS\Y5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %i`YJ  
Dz&<6#L<  
struts.objectFactory.spring.autoWire ctL,Mqr\Z  
      Whether Spring should autoWire or not ;AgXl%Q  
      是否自动绑定Spring \J^|H@;(@  
QX 393v!  
struts.objectFactory.spring.useClassCache |h%fi-a:  
      Whether Spring should use its class cache or not ZBfB4<M9xS  
      是否spring应该使用自身的cache zXg/.z]  
zgHF-KEV  
struts.objectTypeDeterminer <S M%M?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qxglA*/ [  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 H>5@/0cL2  
K\>CXa  
struts.serve.static.browserCache ic|>JX$G  
If static content served by the Struts filter should set browser caching header properties or not } g[(h=Qi  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 NYZI;P1DA  
8fs::}0  
struts.serve.static %+Khj@aX  
      Whether the Struts filter should serve static content or not 4U1"F 7'  
      是否struts过滤器应该提供静态内容 {piZm12q?  
kzb1iBe 6m  
struts.tag.altSyntax iG;GAw|E  
      Whether to use the alterative syntax for the tags or not Xa32p_|5~  
      是否可以用替代的语法替代tags @Y2&v956  
r`(U3EgP  
struts.ui.templateDir 18U CZ;)>  
      The directory containing UI templates GPnSdGLC  
      UI templates的目录夹 FzGla})  
ZN?UkFnE  
struts.ui.theme ;}gS8I|  
      The default UI template theme dq ~=P>  
      默认的UI template主题 FqK2[]8  
ZX!u\O|w  
struts.url.http.port L`{EXn[  
      The HTTP port used by Struts URLs &O.S ;b*+  
      设置http端口 v><uHjP  
o\YF_235  
struts.url.https.port nANoy6z:  
      The HTTPS port used by Struts URLs gRdg3qvU  
      设置https端口 h47l;`kD-#  
#0j,1NpL  
struts.url.includeParams xN#. Pm~  
      The default includeParams method to generate Struts URLs ,4%'~8'3  
      在url中产生 默认的includeParams yjP;o`z%  
MM%c   
nf MQ3K P  
struts.velocity.configfile 1JoRP~mMxa  
      The Velocity configuration file path #5x[Z[m  
      velocity配置文件路径 ` `R;x  
{?9s~{Dl  
struts.velocity.contexts ! G+/8Q^  
      List of Velocity context names Tfl4MDZb  
      velocity的context列表 7)Rx-  
GlVD!0  
-*EK-j  
struts.velocity.manager.classname +}@HtjM  
      org.apache.struts2.views.velocity.VelocityManager implementation class KD7 RI3'?  
      org.apache.struts2.views.velocity.VelocityManager接口名 cTeEND)  
v+|N7  
struts.velocity.toolboxlocation ^KJIT3J(#  
      The location of the Velocity toolbox nEM>*;iE   
      velocity工具盒的位置 }]H_|V*f  
struts.xslt.nocache <j.bG 7  
      Whether or not XSLT templates should not be cached AhARBgf<  
      是否XSLT模版应该被缓存 q e:,%a-9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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