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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =8=!Yc(>  
7+w'Y<mJ  
struts.action.extension N~ANjn/wL  
      The URL extension to use to determine if the request is meant for a Struts action +\#Fd  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 BKU'`5`  
~YCuO0t  
struts.configuration >6Lm9&}  
      The org.apache.struts2.config.Configuration implementation class Fl>]&x*~  
        org.apache.struts2.config.Configuration接口名 7m5Co>NkuK  
dRvin[R8  
struts.configuration.files y33~HsOJ  
      A list of configuration files automatically loaded by Struts ;1DdjETr  
      struts自动加载的一个配置文件列表 #~qAHJ<  
f+vVR1  
struts.configuration.xml.reload 3]JZu9#  
      Whether to reload the XML configuration or not VSOz.g>  
      是否加载xml配置(true,false) vuz4qCQ  
1@XgTL4  
struts.continuations.package z2/!m[U  
      The package containing actions that use Rife continuations "Mmf6hu  
      含有actions的完整连续的package名称 =7 ,Kf} 6  
wHsB,2H  
struts.custom.i18n.resources u~Tg&0V30  
      Location of additional localization properties files to load 9h(IUD{8  
      加载附加的国际化属性文件(不包含.properties后缀) #f'DEo<b  
Y@F  
struts.custom.properties pw'wWZE'  
      Location of additional configuration properties files to load YnV/M,U  
      加载附加的配置文件的位置 MEwdw3  
|)_-Bi;MW`  
:u%$0p>  
struts.devMode >CgO<\  
      Whether Struts is in development mode or not \|Dei);k  
      是否为struts开发模式 GO5~!g  
_>bRv+RVR  
struts.dispatcher.parametersWorkaround TA}UY7v  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic EEf ]u7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R_D c)  
)"O{D`uX  
struts.enable.DynamicMethodInvocation 6&2LWaWMo$  
      Allows one to disable dynamic method invocation from the URL ;)!"Ty|  
        允许动态方法调用 k4KHS<n0  
C>|@& o1  
struts.freemarker.manager.classname {,O`rW_eS  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class aw}+'(?8]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \Rk$t7ZH  
p*;Qz  
struts.i18n.encoding "EftN5?/  
      The encoding to use for localization messages qg,Nb  
      国际化信息内码 zXc}W*ymj  
xQt 3[(Z  
struts.i18n.reload a}.Y!O&  
      Whether the localization messages should automatically be reloaded :\V,k~asl  
      是否国际化信息自动加载 ]@xL=%   
|Svk^mq  
struts.locale S-E++f9D~  
      The default locale for the Struts application 6 o[/F3`  
      默认的国际化地区信息 ,&a`d}g&G  
"2HY5 AE  
struts.mapper.class 4?]oV%aP)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T<jfAE  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 wFlV=!>,  
DOL%'k?B  
struts.multipart.maxSize Sw! j=`O  
      The maximize size of a multipart request (file upload) & QZVq"  
      multipart请求信息的最大尺寸(文件上传用) m=&j@  
, &' Y  
struts.multipart.parser =v"xmx&4  
      The org.apache.struts2.dispatcher.multipart. `"y{;PCt_  
      MultiPartRequest parser implementation for a multipart request (file upload) >BqCkyM9Kf  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~-Oa8ww  
)}X5u%woV  
gAE!a Ky  
struts.multipart.saveDir kC^.4n om  
      The directory to use for storing uploaded files StQ@g  
      设置存储上传文件的目录夹 QdDtvJLf  
,# "(Z  
struts.objectFactory ^Qh-(u`  
      The com.opensymphony.xwork2.ObjectFactory implementation class IbdM9qo7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) A'eAu  
t;Wotfc[#0  
struts.objectFactory.spring.autoWire NoW!xLI  
      Whether Spring should autoWire or not B/YcSEY;  
      是否自动绑定Spring A_r<QYq0|  
StM/  
struts.objectFactory.spring.useClassCache {Jx7_T&  
      Whether Spring should use its class cache or not PvOC5b  
      是否spring应该使用自身的cache P%GkcV  
%RFYm  
struts.objectTypeDeterminer ch,|1}bi  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class r<FQX3  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0o68rF5^s  
cgNt_8qC  
struts.serve.static.browserCache ~ v1W  
If static content served by the Struts filter should set browser caching header properties or not `Wf5  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 rye)qp|  
29O]S8  
struts.serve.static FP;": iRL  
      Whether the Struts filter should serve static content or not o`U|`4,  
      是否struts过滤器应该提供静态内容 F_PTMl=Q|J  
p5SX1PPQ  
struts.tag.altSyntax  1KJZWZy  
      Whether to use the alterative syntax for the tags or not c/$*%J<  
      是否可以用替代的语法替代tags +sn2Lw!^  
<:cpz* G4  
struts.ui.templateDir  <qn,  
      The directory containing UI templates L[]^{ O   
      UI templates的目录夹 a @SUi~+3  
2NR7V*A  
struts.ui.theme =K6c;  
      The default UI template theme ta! V=U  
      默认的UI template主题 <P pYl  
U(3(ZqP  
struts.url.http.port 9A*rE.B+W  
      The HTTP port used by Struts URLs ?cBO6^  
      设置http端口 QeK{MF  
T 'i~_R6  
struts.url.https.port 2 zl~>3S  
      The HTTPS port used by Struts URLs 1#!@["  
      设置https端口  oWrE2U;  
"z/V%ZK~f  
struts.url.includeParams ;vUxO<cKFq  
      The default includeParams method to generate Struts URLs ^n71'MW  
      在url中产生 默认的includeParams <UAP~RH{  
QE6El'S  
:C}Hy  
struts.velocity.configfile yam}x*O\xn  
      The Velocity configuration file path BA`:miH<  
      velocity配置文件路径 UG=I~{L  
#L1>dHhat  
struts.velocity.contexts FAd``9kRT  
      List of Velocity context names x)\V lR  
      velocity的context列表 '{^8_k\}B  
5\?3$<1 I  
>e_%M5 0  
struts.velocity.manager.classname q4k`)?k9  
      org.apache.struts2.views.velocity.VelocityManager implementation class gD5P!}s[u0  
      org.apache.struts2.views.velocity.VelocityManager接口名 {|p"; uJ  
B$DZ]/<  
struts.velocity.toolboxlocation ^hysCc  
      The location of the Velocity toolbox 7AeP Gr  
      velocity工具盒的位置 4[_L=zD  
struts.xslt.nocache cI3KB-lM#  
      Whether or not XSLT templates should not be cached GMT or  
      是否XSLT模版应该被缓存 AI R{s7N  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八