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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 i8pM,Ppi~  
_hyboQi  
struts.action.extension I=X-e#HM?  
      The URL extension to use to determine if the request is meant for a Struts action Wf/Gt\?  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n5 dFp%k  
O, 6U pk  
struts.configuration $wUFHEl  
      The org.apache.struts2.config.Configuration implementation class N%!8I  
        org.apache.struts2.config.Configuration接口名 mh;<lW\K/Z  
PeGL Rbx34  
struts.configuration.files )O~LXK=b  
      A list of configuration files automatically loaded by Struts s@sRdoTdF  
      struts自动加载的一个配置文件列表 k"F5'Od  
 b=v  
struts.configuration.xml.reload mY?^]3-_  
      Whether to reload the XML configuration or not ^Ts|/+}'i  
      是否加载xml配置(true,false) MjCD;I:C.  
uc9t0]o=h  
struts.continuations.package /,dcr*  
      The package containing actions that use Rife continuations @G< J+pm  
      含有actions的完整连续的package名称 BYt#aqf  
|SC^H56+  
struts.custom.i18n.resources VE5w!of  
      Location of additional localization properties files to load KCd}N  
      加载附加的国际化属性文件(不包含.properties后缀) %cMX]U  
rlr)n\R#  
struts.custom.properties :&ir5xHS  
      Location of additional configuration properties files to load =4cK9ac  
      加载附加的配置文件的位置 4hdxqI!y2  
T!e ]=  
YL \d2  
struts.devMode W]MKc&R  
      Whether Struts is in development mode or not XB,  2+  
      是否为struts开发模式 KB49~7XjQ@  
OcQ>01Q  
struts.dispatcher.parametersWorkaround s*{l}~fPkW  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Pn|A>.)z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Br.$:g#  
hN*,]Z{  
struts.enable.DynamicMethodInvocation uu L"o  
      Allows one to disable dynamic method invocation from the URL yi*)g0M  
        允许动态方法调用 c jfYE]  
n{JBC%^g  
struts.freemarker.manager.classname 1o\P7P Le  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class asqbLtQ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,>lOmyh  
j\& `  
struts.i18n.encoding *4#)or  
      The encoding to use for localization messages jY'svD~  
      国际化信息内码 ;Ak<O[  
V(Ll]g/T_;  
struts.i18n.reload PjZsMHW%  
      Whether the localization messages should automatically be reloaded ;Z|X` <6g  
      是否国际化信息自动加载 7Y T%.ID  
yq+'O&+   
struts.locale bb}zn'xC  
      The default locale for the Struts application mn;;wp  
      默认的国际化地区信息 ek!x:G$'  
KdI X`  
struts.mapper.class v3!oY t:l  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class N>##} i  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 9}^nozR,I  
y}5V3)P  
struts.multipart.maxSize QcJ?1GwA"  
      The maximize size of a multipart request (file upload) =.`(KXT  
      multipart请求信息的最大尺寸(文件上传用) F#_JcEE  
U@21N3_@_  
struts.multipart.parser \M0-$&[+Z  
      The org.apache.struts2.dispatcher.multipart. ?145^ w  
      MultiPartRequest parser implementation for a multipart request (file upload) ;sd[Q01  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z.6M~  
vAWJP_;J  
Bfe#,  
struts.multipart.saveDir F N6 GV  
      The directory to use for storing uploaded files S}6Ty2.\  
      设置存储上传文件的目录夹 "8}p>gS  
As0E'n85  
struts.objectFactory .CGPG,\2  
      The com.opensymphony.xwork2.ObjectFactory implementation class G"P@AOw  
      com.opensymphony.xwork2.ObjectFactory接口(spring) KvENH=oh  
J'c]':U  
struts.objectFactory.spring.autoWire _'DT)%K  
      Whether Spring should autoWire or not iJ n<  
      是否自动绑定Spring jMv qKJ(<  
-|;{/ s5  
struts.objectFactory.spring.useClassCache -xs @rV`  
      Whether Spring should use its class cache or not {a aI<u  
      是否spring应该使用自身的cache <QbD ;(%  
Kn-cwz5  
struts.objectTypeDeterminer "ee:Z_Sz  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &?N1-?BjM  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 hG~4i:p <  
d-/{@   
struts.serve.static.browserCache s2=rj?g&(X  
If static content served by the Struts filter should set browser caching header properties or not "(bnr0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 YaiogA  
Xc"l')1H  
struts.serve.static MLwh&I9)  
      Whether the Struts filter should serve static content or not i) v ]  
      是否struts过滤器应该提供静态内容 {8+FxmH  
 v?Dc3  
struts.tag.altSyntax n;&08M5an}  
      Whether to use the alterative syntax for the tags or not ,z<J`n  
      是否可以用替代的语法替代tags E4;vC ?K{  
SFhi]48&V  
struts.ui.templateDir |@'/F#T  
      The directory containing UI templates  I/YBL  
      UI templates的目录夹 \fC)]QZ  
ptJ58U$Bb  
struts.ui.theme sa8JN.B  
      The default UI template theme Y%<y`]I  
      默认的UI template主题 eS(hLXE!7  
< 12ia"}  
struts.url.http.port ToMvP B);  
      The HTTP port used by Struts URLs zT$-%  
      设置http端口 4lrF{S8  
|v,%!p s  
struts.url.https.port 9N1Uv,OtB  
      The HTTPS port used by Struts URLs {A!1s;  
      设置https端口 h-r\ 1{Q1]  
r{NCI  
struts.url.includeParams P5$d#Y(=  
      The default includeParams method to generate Struts URLs $sF'Sr{)y  
      在url中产生 默认的includeParams \dvzL(,  
BK>3rjXi>a  
%f[0&)1!.v  
struts.velocity.configfile B=dF\.&Z  
      The Velocity configuration file path ]b5E_/P  
      velocity配置文件路径 HURr k~[  
iCd$gwA>F  
struts.velocity.contexts ^a+W!  
      List of Velocity context names MnToL@  
      velocity的context列表 F)fCj^ zL  
K4w %XVaH  
C8ss6+k&  
struts.velocity.manager.classname kyV!ATL1F  
      org.apache.struts2.views.velocity.VelocityManager implementation class q8DSKi  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,uz+/K%OA5  
} @r|o:I  
struts.velocity.toolboxlocation nV`n=x  
      The location of the Velocity toolbox *xHj*  
      velocity工具盒的位置 =AaTn::e/  
struts.xslt.nocache }ACWSkWK  
      Whether or not XSLT templates should not be cached :+?eF^ 5  
      是否XSLT模版应该被缓存 m@(8-_  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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