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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 z12c9k%s  
t;~H6  
struts.action.extension tHj |_t  
      The URL extension to use to determine if the request is meant for a Struts action wB0zFlP  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 f/VrenZ_  
pSLv1d"9{  
struts.configuration /h!Y/\kI  
      The org.apache.struts2.config.Configuration implementation class )ZI9n7  
        org.apache.struts2.config.Configuration接口名 Y8fahQ#  
mu!hD^fw  
struts.configuration.files q|[P[7z  
      A list of configuration files automatically loaded by Struts ;~>E^0M  
      struts自动加载的一个配置文件列表 rLfhm Ds%u  
J6) &b7  
struts.configuration.xml.reload O+o4E?}  
      Whether to reload the XML configuration or not qU1^ K  
      是否加载xml配置(true,false) :cmQ w  
5G-}'-R  
struts.continuations.package  VS:UVe  
      The package containing actions that use Rife continuations V@(7K0  
      含有actions的完整连续的package名称 S4jt*]w5b  
fnUR]5\tc  
struts.custom.i18n.resources ?rD`'B  
      Location of additional localization properties files to load '|\et aD  
      加载附加的国际化属性文件(不包含.properties后缀) *$KUnd-T  
A!K/92[#@  
struts.custom.properties ~[CtsCiQ  
      Location of additional configuration properties files to load 1xJc[q  
      加载附加的配置文件的位置 p:hzLat~  
2nQrCdRC  
KXgC]IO~  
struts.devMode ]J t8]w  
      Whether Struts is in development mode or not _PPW9US{  
      是否为struts开发模式 xz+Y1fYT  
e*Gm()Vu,  
struts.dispatcher.parametersWorkaround -,;Iob56!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic jDp]}d|f)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) DiB~Ovh|  
fC2   
struts.enable.DynamicMethodInvocation [U]ouh)  
      Allows one to disable dynamic method invocation from the URL &?@gUk74"  
        允许动态方法调用 ? 9.V@+i  
UH<nc;.B  
struts.freemarker.manager.classname 1GnT^u y/  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (;V=A4F-D  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 (O N \-*  
LiyEF&_u  
struts.i18n.encoding ?Jlz{msI  
      The encoding to use for localization messages .qyk[O  
      国际化信息内码 !OJ@ =y`i  
C*}TY)8  
struts.i18n.reload sOJH$G3O  
      Whether the localization messages should automatically be reloaded rx*1S/\PPc  
      是否国际化信息自动加载 ,KlTitJl\+  
B/i`  
struts.locale OXC7 m  
      The default locale for the Struts application 8t$a8 PE  
      默认的国际化地区信息 J~5VL |ca  
Jlw oSe:S  
struts.mapper.class e&C(IEZ/N;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,`/J1(\ nd  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 OC zWP,  
s D] W/  
struts.multipart.maxSize j:%~:  
      The maximize size of a multipart request (file upload) GNXQD}L?b?  
      multipart请求信息的最大尺寸(文件上传用) yA%(!v5UT  
\ A\a=A[  
struts.multipart.parser 5|ih>?C/(  
      The org.apache.struts2.dispatcher.multipart. ]@op  
      MultiPartRequest parser implementation for a multipart request (file upload) ;T}#-`O_Im  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G?)vqmJ%  
"D7*en  
Q)}sX6TB  
struts.multipart.saveDir 29g("(}TK  
      The directory to use for storing uploaded files LSQ2pB2V  
      设置存储上传文件的目录夹 S]Gw}d]4  
D"F5-s7  
struts.objectFactory o/9(+AA>  
      The com.opensymphony.xwork2.ObjectFactory implementation class vN%zk(?T  
      com.opensymphony.xwork2.ObjectFactory接口(spring) vJ$#m_aa  
AigL:4[  
struts.objectFactory.spring.autoWire " *xQN "F  
      Whether Spring should autoWire or not \GeUX <Fl  
      是否自动绑定Spring 6Flc4L8JU  
B`a5%asJn  
struts.objectFactory.spring.useClassCache x~xaE*r  
      Whether Spring should use its class cache or not 65RWaz;|  
      是否spring应该使用自身的cache ~130"WQ;  
`gy]|gS#b  
struts.objectTypeDeterminer FqiC zP4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \>w[#4`m  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &C3J6uCm+  
^;GJ7y&,d  
struts.serve.static.browserCache -[~UX!XFM  
If static content served by the Struts filter should set browser caching header properties or not 5aw#!K=J'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 I ms?^`N  
 %"j<`  
struts.serve.static J'y*;@4l^:  
      Whether the Struts filter should serve static content or not YMnG-'^Z  
      是否struts过滤器应该提供静态内容 x=yBB;&  
 N\DEY]  
struts.tag.altSyntax ?s(%3_h  
      Whether to use the alterative syntax for the tags or not ="3Hc=1?R  
      是否可以用替代的语法替代tags InMeD[*^  
{) 4D1  
struts.ui.templateDir lRnst-inlI  
      The directory containing UI templates _h7!  
      UI templates的目录夹 ? )-*&1cv  
_S/bwPj|~y  
struts.ui.theme YEAiLC+q  
      The default UI template theme .Nr}V.?57  
      默认的UI template主题 vn~DtTp/  
aDR<5_Yb  
struts.url.http.port a3ve%b  
      The HTTP port used by Struts URLs Ua\g*Cxh  
      设置http端口 <WtX> \]l(  
9*RfOdnNe  
struts.url.https.port 3zY"9KUN  
      The HTTPS port used by Struts URLs R>BI;IcX  
      设置https端口 Ps7(4%  
il\#R%';5  
struts.url.includeParams ,*a8]L  
      The default includeParams method to generate Struts URLs d4/snvq  
      在url中产生 默认的includeParams #z-6mRB  
O*rKV2\  
uu1-` !%  
struts.velocity.configfile /"tVOv#  
      The Velocity configuration file path d"uR1 rTk  
      velocity配置文件路径 ]plg@  
/ _-?NZ  
struts.velocity.contexts 2sjV*\Udf  
      List of Velocity context names 'CjcOI s  
      velocity的context列表  nsij;C  
8fTuae$^  
5G'X\iR  
struts.velocity.manager.classname ueZ`+g~gg  
      org.apache.struts2.views.velocity.VelocityManager implementation class .Gh-T{\V'  
      org.apache.struts2.views.velocity.VelocityManager接口名 HviL4iO  
G#@o6r  
struts.velocity.toolboxlocation -OZXl  
      The location of the Velocity toolbox 5@P2Z]Q  
      velocity工具盒的位置 Tf Q(f?  
struts.xslt.nocache 6Y)'p .+g  
      Whether or not XSLT templates should not be cached bqFGDmu6'  
      是否XSLT模版应该被缓存 ? Sj,HLo@U  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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