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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 [%HIbw J  
^SEdA=!  
struts.action.extension WUAJjds  
      The URL extension to use to determine if the request is meant for a Struts action fbZibcQ%k  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 OH<?DcfeL  
T0j2a &Pv  
struts.configuration kfC0zd+  
      The org.apache.struts2.config.Configuration implementation class p]W+eT  
        org.apache.struts2.config.Configuration接口名 3l!NG=R  
4dH}g~[P9  
struts.configuration.files 8OWmzY_=  
      A list of configuration files automatically loaded by Struts ETv9k g  
      struts自动加载的一个配置文件列表 oFg5aey4  
~7quTp)  
struts.configuration.xml.reload Vu0 KtG9  
      Whether to reload the XML configuration or not B~r}c4R{7  
      是否加载xml配置(true,false) \zXlN  
%XhfXd'  
struts.continuations.package Hr;h4J  
      The package containing actions that use Rife continuations &UAe!{E0  
      含有actions的完整连续的package名称 lp&!lb`  
jyW[m,#(go  
struts.custom.i18n.resources uMXc0fs!$  
      Location of additional localization properties files to load .uZ7 -l  
      加载附加的国际化属性文件(不包含.properties后缀) @^nu #R  
_3Q8n|  
struts.custom.properties [nN7qG  
      Location of additional configuration properties files to load PW}OU9is  
      加载附加的配置文件的位置 f F?6j   
+R$?2  
pL oy  
struts.devMode ed~R>F>  
      Whether Struts is in development mode or not "i'bTVs  
      是否为struts开发模式 ,W5.:0Y;f[  
M\/XP| 7  
struts.dispatcher.parametersWorkaround Qqs"?Z,P  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic y93k_iq$S  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !MZw#=D`  
ateUpGM QU  
struts.enable.DynamicMethodInvocation q/@dR{-  
      Allows one to disable dynamic method invocation from the URL ph30'"[Z}  
        允许动态方法调用 Qb^q+C)o]  
wN]J8Ir  
struts.freemarker.manager.classname (4~WWU (iT  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class K6\` __mLf  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 +Al>2~  
jThbeY[  
struts.i18n.encoding A-E+s~U8  
      The encoding to use for localization messages <3 @}Lj  
      国际化信息内码 $7gB_o$zz  
I{.HO<$7D}  
struts.i18n.reload Uf,fX/:!  
      Whether the localization messages should automatically be reloaded vX1uR]A[  
      是否国际化信息自动加载 ,j;PRJ  
k M*T$JqN  
struts.locale i1*C{Lf;%)  
      The default locale for the Struts application +Tak de%~  
      默认的国际化地区信息 ]Bu DaxWN  
c cG['7  
struts.mapper.class f>iuHR*EXB  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7s>a2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :uCdq`SaQl  
?A=b6Um  
struts.multipart.maxSize tbj=~xYf  
      The maximize size of a multipart request (file upload) Z}Cqd?_')  
      multipart请求信息的最大尺寸(文件上传用) TnxKR$Hoh  
~@c-*  
struts.multipart.parser g,lY ut  
      The org.apache.struts2.dispatcher.multipart. v+q<BYq  
      MultiPartRequest parser implementation for a multipart request (file upload) hYt7kq!"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) >S&U.  
4 \Di,PPu  
?9?4p@  
struts.multipart.saveDir  b;vNq  
      The directory to use for storing uploaded files ]S /G\z  
      设置存储上传文件的目录夹 tW6#e(^l6  
}OKL z.5  
struts.objectFactory XCPb9<L  
      The com.opensymphony.xwork2.ObjectFactory implementation class '"O&J}s;  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `"<2)yq?  
p]f&mBO*  
struts.objectFactory.spring.autoWire MQw9X  
      Whether Spring should autoWire or not )h"Fla  
      是否自动绑定Spring }""p)Y&  
Xz1c6mX|o  
struts.objectFactory.spring.useClassCache 8=H\?4)()Y  
      Whether Spring should use its class cache or not O k(47nC  
      是否spring应该使用自身的cache EZAm)5:]A  
3z,2utH  
struts.objectTypeDeterminer mCk5B*Jy  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nk08>veG  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 (KF7zP  
"\T"VS^pd  
struts.serve.static.browserCache `7B14:\A  
If static content served by the Struts filter should set browser caching header properties or not "@t-Cy:!O  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $[e%&h@JR  
N du7nKG  
struts.serve.static [\HQPo'S  
      Whether the Struts filter should serve static content or not "Pdvmur  
      是否struts过滤器应该提供静态内容 }MZan" cfo  
uB+9dQ  
struts.tag.altSyntax QT}iaeC1i  
      Whether to use the alterative syntax for the tags or not &-F"+v,+  
      是否可以用替代的语法替代tags 0VG=?dq  
)1z4q`  
struts.ui.templateDir O)<r>vqe}  
      The directory containing UI templates @ R'E?|  
      UI templates的目录夹 ) hdgz$cl  
:uR>UDlPX  
struts.ui.theme gE=Wcb!  
      The default UI template theme /#\?1)jCK  
      默认的UI template主题 yV_ L/,6}D  
TNsg pJ?\  
struts.url.http.port b+$o4 l/x  
      The HTTP port used by Struts URLs HWbBChDF  
      设置http端口 (4ZLpsbJ  
W:B}u\)C  
struts.url.https.port = o+7xom  
      The HTTPS port used by Struts URLs @^HwrwRA  
      设置https端口 }:^XX0:FK  
KZ\dB;W< |  
struts.url.includeParams ?'LM7RE$X6  
      The default includeParams method to generate Struts URLs r%[1$mTOR  
      在url中产生 默认的includeParams S-,kI  
7,su f }=  
+3?`M<L0  
struts.velocity.configfile R#fy60  
      The Velocity configuration file path ;y>'yq}  
      velocity配置文件路径 t'Htx1#Zc[  
cUM_ncYOP  
struts.velocity.contexts T g\hx>  
      List of Velocity context names @ V5S4E  
      velocity的context列表 (\uA AW"  
Ltg-w\?]  
7 s-`QdWX  
struts.velocity.manager.classname |0DP} `~  
      org.apache.struts2.views.velocity.VelocityManager implementation class Bfn]-]>sD  
      org.apache.struts2.views.velocity.VelocityManager接口名 "S|(4BUJ(  
3DI^y` av  
struts.velocity.toolboxlocation hs,5LV)|y  
      The location of the Velocity toolbox r&/D~g\"|[  
      velocity工具盒的位置 Si[eAAd' :  
struts.xslt.nocache {6YxN&  
      Whether or not XSLT templates should not be cached hgif]?:C<  
      是否XSLT模版应该被缓存 af^@ .$ |  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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