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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ,X6j$YLWp  
X6 :~Rjim*  
struts.action.extension QLg9aG|  
      The URL extension to use to determine if the request is meant for a Struts action !\4FIs&Qv  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 UH|.@7w  
?M(Wx  
struts.configuration ]zY'w,?D\F  
      The org.apache.struts2.config.Configuration implementation class XLxr~Yo  
        org.apache.struts2.config.Configuration接口名 giJyMd}x  
tpK4 gjf  
struts.configuration.files j-|0&X1C  
      A list of configuration files automatically loaded by Struts 5 Vqvb|  
      struts自动加载的一个配置文件列表 B[V=l<J  
"ukbqdKD  
struts.configuration.xml.reload tYa8I/HpT  
      Whether to reload the XML configuration or not KIJ[ cIw  
      是否加载xml配置(true,false) o#6}?g.  
T,>e\  
struts.continuations.package |pY0IqO  
      The package containing actions that use Rife continuations [L^#<@S  
      含有actions的完整连续的package名称 `I$A;OPK7  
)v0vdAh'b  
struts.custom.i18n.resources `_`,XkpzCJ  
      Location of additional localization properties files to load ;v\n[  
      加载附加的国际化属性文件(不包含.properties后缀) +Z*%,m=N(  
N\$wpDI~  
struts.custom.properties FU3B;Fn^Z(  
      Location of additional configuration properties files to load -AQX-[B  
      加载附加的配置文件的位置 ? |dz"=y  
CG;D(AWR;  
P0=F9`3wb  
struts.devMode Ls{fCi/2F  
      Whether Struts is in development mode or not i$bBN$<b<  
      是否为struts开发模式 i\G3 u#  
u'p J 9>sC  
struts.dispatcher.parametersWorkaround r N7"%dx  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic < r~Tj  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ./'n2$^3  
gP@ni$n  
struts.enable.DynamicMethodInvocation |z%,W/Ef  
      Allows one to disable dynamic method invocation from the URL r "R\  
        允许动态方法调用 #UQ[8e  
Apn#o2  
struts.freemarker.manager.classname 4Q5v8k=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =F4}  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 xjN~Y D:  
[6|vx},N  
struts.i18n.encoding Qp ,l>k  
      The encoding to use for localization messages L/I-(08!Y:  
      国际化信息内码 rL=$WxdPU  
\2jY)UrQs  
struts.i18n.reload !MC W t  
      Whether the localization messages should automatically be reloaded OBZj-`fqJ  
      是否国际化信息自动加载 jVz1`\Nje  
rxARJ so  
struts.locale UL/>t}AG  
      The default locale for the Struts application \w3wh*  
      默认的国际化地区信息 KB5{l%>  
Y"@kvd  
struts.mapper.class VA0TY/{ ]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class pK4)>q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 4]bT O  
PewLg<?,G4  
struts.multipart.maxSize 9O"?T7i"#  
      The maximize size of a multipart request (file upload) kBzzi^cl  
      multipart请求信息的最大尺寸(文件上传用) >BX_Bou  
JI&>w-~D  
struts.multipart.parser R|suBF3  
      The org.apache.struts2.dispatcher.multipart. i]nE86.;  
      MultiPartRequest parser implementation for a multipart request (file upload) fh~&&f}6  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) C\{4<:<_&  
[>-k(D5D  
.\VjS^o&Z&  
struts.multipart.saveDir =BtEduz  
      The directory to use for storing uploaded files ')BQ 0sg  
      设置存储上传文件的目录夹 z+b~#f3  
6]Jv3Re'(I  
struts.objectFactory 6voK{C4J  
      The com.opensymphony.xwork2.ObjectFactory implementation class TDoYp  
      com.opensymphony.xwork2.ObjectFactory接口(spring) lwU&jo*@  
`&_qK~&/X  
struts.objectFactory.spring.autoWire Z8 T{Xw6%  
      Whether Spring should autoWire or not =9c24j  
      是否自动绑定Spring ^{s)`j'I*  
mT.F$Y9  
struts.objectFactory.spring.useClassCache c|7Pnx%gT  
      Whether Spring should use its class cache or not MiC&av  
      是否spring应该使用自身的cache ; H3kb +  
O!g> f  
struts.objectTypeDeterminer ;[xDc>&("Q  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E8xXr>j>#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 mK4a5H  
$OT:J  
struts.serve.static.browserCache .JiQq]  
If static content served by the Struts filter should set browser caching header properties or not vmoqsdZ/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 zm e:U![  
/nrDU*  
struts.serve.static 982$d<0%  
      Whether the Struts filter should serve static content or not MwuH.# Ez  
      是否struts过滤器应该提供静态内容 pK3cg|}  
yR`-rJb V  
struts.tag.altSyntax WV8<gx`Q  
      Whether to use the alterative syntax for the tags or not (p. 5J  
      是否可以用替代的语法替代tags r[gV`khka  
>$?Z&7Lv  
struts.ui.templateDir gs!{'=4wT  
      The directory containing UI templates v uJ~Lg{  
      UI templates的目录夹 4QDW}5xB  
&8;mcM//4  
struts.ui.theme /`1zkBj<&  
      The default UI template theme 53L)+\7w  
      默认的UI template主题 T|E;U  
';1 c  
struts.url.http.port nhIITfJJ  
      The HTTP port used by Struts URLs =v_ju;C=  
      设置http端口 %|;^[^7+}t  
9@h>_1RJz  
struts.url.https.port y,%w`  
      The HTTPS port used by Struts URLs I*#~@:4*  
      设置https端口 aqMZ%~7  
ZQyT$l~b  
struts.url.includeParams Yux7kD\c  
      The default includeParams method to generate Struts URLs N+r~\[N\9  
      在url中产生 默认的includeParams ULoTPx@N  
)N}xKw|  
}x%"Oq|2]x  
struts.velocity.configfile v!x=fjr<  
      The Velocity configuration file path I($u L@$  
      velocity配置文件路径 7Fq|Zc`P  
bk8IGhO|m!  
struts.velocity.contexts v.\&gn(  
      List of Velocity context names _ p?q/-[4  
      velocity的context列表 ^ML2xh  
\>\w-ty[(  
UP,(zKTA  
struts.velocity.manager.classname t rHj7Nw  
      org.apache.struts2.views.velocity.VelocityManager implementation class |5O%@  
      org.apache.struts2.views.velocity.VelocityManager接口名 "['YMhu_  
HVC\(h,)i  
struts.velocity.toolboxlocation Jb0]!*tV  
      The location of the Velocity toolbox  fBQZ=zh  
      velocity工具盒的位置 1XSqgr"3  
struts.xslt.nocache E[$['0  
      Whether or not XSLT templates should not be cached C5eol &  
      是否XSLT模版应该被缓存 p<jHUG4?'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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