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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !UE' AB  
gWp\?La  
struts.action.extension hWK}] gF  
      The URL extension to use to determine if the request is meant for a Struts action cq'opjLf5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0N3 cC4!  
SWr?>dl  
struts.configuration DpIv <m]  
      The org.apache.struts2.config.Configuration implementation class !dfc1UjB  
        org.apache.struts2.config.Configuration接口名 *|MHQp'A  
V\zf yH\~  
struts.configuration.files @ViJJ\  
      A list of configuration files automatically loaded by Struts \oF79   
      struts自动加载的一个配置文件列表  ^o+}3=  
@R= gJ:&a  
struts.configuration.xml.reload hd~X c  
      Whether to reload the XML configuration or not v\*43RL  
      是否加载xml配置(true,false) jsS xjf;O  
qr%9S dvx  
struts.continuations.package "J]_B  
      The package containing actions that use Rife continuations nAn/Vu  
      含有actions的完整连续的package名称 @Md%gEh;&  
H{'<v|I  
struts.custom.i18n.resources :.['e`  
      Location of additional localization properties files to load ^Ye i9bXl  
      加载附加的国际化属性文件(不包含.properties后缀) "}UJ~ j).  
#Ag-?k  
struts.custom.properties ko2Kz k  
      Location of additional configuration properties files to load Ghgx8 ]e  
      加载附加的配置文件的位置 I]P'wav~O  
E6n3[Z  
kVs'>H@FY  
struts.devMode =>Y b~r71  
      Whether Struts is in development mode or not &LE,.Q34  
      是否为struts开发模式 ^yUel.N5"  
l%*KBME  
struts.dispatcher.parametersWorkaround PL/as3O^A  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .Gv9RKgd~  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) E"5 z T1d  
d3h2$EDD  
struts.enable.DynamicMethodInvocation U'S}7gya  
      Allows one to disable dynamic method invocation from the URL ]Q=D'1 MM  
        允许动态方法调用 k"|4 LPv[  
'3Yci(t+  
struts.freemarker.manager.classname I|lz;i}$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z~{0XG\Y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 2g1[ E_?  
/5 Wy) -  
struts.i18n.encoding a'w~7y!}  
      The encoding to use for localization messages R6HMi#eF  
      国际化信息内码 <}-[9fW  
Pg" uisT#>  
struts.i18n.reload brJ _q0@  
      Whether the localization messages should automatically be reloaded O(;K ]8  
      是否国际化信息自动加载 hK9Trrwau  
N2uxiXpQZ=  
struts.locale knX0b$$  
      The default locale for the Struts application 6> v`6  
      默认的国际化地区信息 Vu '/o[nF>  
pv&:N,p  
struts.mapper.class  6\ /x  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @cdd~9w  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %3scz)4$  
R0y={\*B5k  
struts.multipart.maxSize KE:PRX  
      The maximize size of a multipart request (file upload) T1hr5V<U  
      multipart请求信息的最大尺寸(文件上传用) ~U`oew  
B" TZ8(<  
struts.multipart.parser Z8nj9X$   
      The org.apache.struts2.dispatcher.multipart. \]}|m<R  
      MultiPartRequest parser implementation for a multipart request (file upload) 1a 3rA  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) T6JN@:8  
f>ohu^bd  
Zws[}G"7h  
struts.multipart.saveDir Z`nHpmNM  
      The directory to use for storing uploaded files 5R}Qp<D[^  
      设置存储上传文件的目录夹 -4`Wkkhu  
VO3&!uOd  
struts.objectFactory x/Se /C  
      The com.opensymphony.xwork2.ObjectFactory implementation class [H z_x(t26  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 0ZPwEP  
EZaWEW  
struts.objectFactory.spring.autoWire /kE3V`es  
      Whether Spring should autoWire or not 9@  [R>C  
      是否自动绑定Spring Qk<W(  
o9G%KO&;D,  
struts.objectFactory.spring.useClassCache "Wr5:T-;  
      Whether Spring should use its class cache or not q}>1Rr|U`  
      是否spring应该使用自身的cache #pP4\n-~hU  
F<q'ivj:w  
struts.objectTypeDeterminer *JE%bQ2Q  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Twyx(~'&R  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R/r)l<X@  
5=tvB,Ux4  
struts.serve.static.browserCache k@U8K(:x  
If static content served by the Struts filter should set browser caching header properties or not w@Uw8b  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 LnIln[g:  
w~a^r]lPW  
struts.serve.static PVHJIB  
      Whether the Struts filter should serve static content or not ~4h<nc  
      是否struts过滤器应该提供静态内容 6s\niro2  
 S[!K  
struts.tag.altSyntax ){`s&?M0  
      Whether to use the alterative syntax for the tags or not :b)IDcW&j:  
      是否可以用替代的语法替代tags HQ~`ha.  
%JM:4G|q  
struts.ui.templateDir ~K}iVX  
      The directory containing UI templates $2qZds[  
      UI templates的目录夹 R06L4,/b  
$X8(OS5d'  
struts.ui.theme ,#[0As29u  
      The default UI template theme tFt56/4  
      默认的UI template主题 zY~  
5vs~8|aRo  
struts.url.http.port ~Q"3#4l  
      The HTTP port used by Struts URLs Bz<T{f  
      设置http端口 C,7d  
bh|M]*Pq  
struts.url.https.port s.I%[kada  
      The HTTPS port used by Struts URLs eznt "Rr2  
      设置https端口 O*{<{3  
lo*OmAF  
struts.url.includeParams \7PPFKS  
      The default includeParams method to generate Struts URLs Q\Dx/?g!vx  
      在url中产生 默认的includeParams '?dO[iQ$:  
D+ mZ7&L  
tJ[yx_mf  
struts.velocity.configfile YXI_ '  
      The Velocity configuration file path KBJw7rra  
      velocity配置文件路径 pSp/Qpb-B  
DhZuQpH  
struts.velocity.contexts j#QJ5(#  
      List of Velocity context names k#Qav1_  
      velocity的context列表 bA}9He1  
4-;"w;  
{Q],rv|;  
struts.velocity.manager.classname FY_.Vp  
      org.apache.struts2.views.velocity.VelocityManager implementation class [ZC]O2'  
      org.apache.struts2.views.velocity.VelocityManager接口名 ir/m. ~?  
-F=?M+9[  
struts.velocity.toolboxlocation )!.ef6|  
      The location of the Velocity toolbox rD=8O#m g  
      velocity工具盒的位置 WLl_;BgN  
struts.xslt.nocache }5c%v1  
      Whether or not XSLT templates should not be cached i!g}PbC[  
      是否XSLT模版应该被缓存 r09gB#K4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五