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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 M TOZ:b  
$Fik]TbQp  
struts.action.extension U8GvUysB!  
      The URL extension to use to determine if the request is meant for a Struts action !7y:|k,ac  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 gSt'<v  
M$MFUGS'  
struts.configuration 7kq6VS;p  
      The org.apache.struts2.config.Configuration implementation class [&K"OQ^\2h  
        org.apache.struts2.config.Configuration接口名 N= {0A  
kJK:1;CM?.  
struts.configuration.files t^SND{[WcM  
      A list of configuration files automatically loaded by Struts gQ=l\/ H  
      struts自动加载的一个配置文件列表 `~+[pY 1r  
w .+B h  
struts.configuration.xml.reload |jJ9dTD8/  
      Whether to reload the XML configuration or not ? H7?>ZE  
      是否加载xml配置(true,false) aa,^+^J  
dO|n[/qL0  
struts.continuations.package |nT+ W| 0U  
      The package containing actions that use Rife continuations idSc#n22  
      含有actions的完整连续的package名称 ;`:A(yN]T  
/`VrV{\/!  
struts.custom.i18n.resources KvkU]s_  
      Location of additional localization properties files to load A_}6J,*u  
      加载附加的国际化属性文件(不包含.properties后缀) 0S$6j-"  
{<L|Z=&k`  
struts.custom.properties R(W}..U0R"  
      Location of additional configuration properties files to load -,^Z5N#\|  
      加载附加的配置文件的位置 $@@@</VbP  
-cL wjI  
|[/'W7TV%?  
struts.devMode r9!,cs  
      Whether Struts is in development mode or not @r9[&  
      是否为struts开发模式 GRj#1OqL  
IXof- I%8  
struts.dispatcher.parametersWorkaround |eEXCn3{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic f/3rcYR;y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +puF0]TR,i  
1y7FvD~v  
struts.enable.DynamicMethodInvocation jzAXC^FS  
      Allows one to disable dynamic method invocation from the URL -@?4Tfl  
        允许动态方法调用 .BrYz:#A  
 MKZq*  
struts.freemarker.manager.classname >o|.0aw<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3R6=C~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 I|R;)[;X  
(Qj;B)  
struts.i18n.encoding 4d;.p1ro  
      The encoding to use for localization messages }^]TUe@a  
      国际化信息内码 pfF2!`7pI  
t2RL|$>F1  
struts.i18n.reload hd~0qK  
      Whether the localization messages should automatically be reloaded bguTWI8bk  
      是否国际化信息自动加载 @JU Xp  
prO ~g  
struts.locale W:V.\  
      The default locale for the Struts application rhj_cw  
      默认的国际化地区信息 e(Y5OTus  
a}5/?/  
struts.mapper.class VkZ3Q7d  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~R  C\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )bl^:C  
<(W:Q3?s  
struts.multipart.maxSize xY<*:&  
      The maximize size of a multipart request (file upload) O2N~&<^  
      multipart请求信息的最大尺寸(文件上传用) cs0rz= ZdH  
\<Di |X1  
struts.multipart.parser -E>LB\[t)  
      The org.apache.struts2.dispatcher.multipart. `tH :oP0=  
      MultiPartRequest parser implementation for a multipart request (file upload) A!IZIT5)m  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) E5 uk<e_  
?eOw8Rom  
Fb<fQIa  
struts.multipart.saveDir DQ9}( '^  
      The directory to use for storing uploaded files z(Q 5?+P  
      设置存储上传文件的目录夹 IA^*?,AZy  
]@ N::!m  
struts.objectFactory &*9 ' 0  
      The com.opensymphony.xwork2.ObjectFactory implementation class u -A_l<K  
      com.opensymphony.xwork2.ObjectFactory接口(spring) h_\OtoRa  
<Xb$YB-c  
struts.objectFactory.spring.autoWire >\'gIIs  
      Whether Spring should autoWire or not U)] }EgpF  
      是否自动绑定Spring z4wG]]Kh*  
iE,/x^&,&  
struts.objectFactory.spring.useClassCache @ GXi{9  
      Whether Spring should use its class cache or not ujh`&GiB+  
      是否spring应该使用自身的cache !;M5.Y1j&"  
wH]Y1 m  
struts.objectTypeDeterminer tqzr +  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~vB dq Yj  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 v{oHC4  
PXo^SHJ+gt  
struts.serve.static.browserCache uL |O<  
If static content served by the Struts filter should set browser caching header properties or not 8om)A0S  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |DLmMsS4  
UqNUP+K  
struts.serve.static j71RlS73  
      Whether the Struts filter should serve static content or not gIY]hC.  
      是否struts过滤器应该提供静态内容 w 3$9  
|C}=  1  
struts.tag.altSyntax jq( QL%)_O  
      Whether to use the alterative syntax for the tags or not wPl9%  
      是否可以用替代的语法替代tags Tno 0Q +  
'DTq<`~?  
struts.ui.templateDir yt#~n _  
      The directory containing UI templates tG*HUN?*  
      UI templates的目录夹 bj7r"_  
~=gpn|@b  
struts.ui.theme g96]>]A<{  
      The default UI template theme <Y+>a#T  
      默认的UI template主题 ~qkn1N%'  
DvY)n<U1qA  
struts.url.http.port H&uh$y@  
      The HTTP port used by Struts URLs f J+  
      设置http端口 (x140_TH~  
wG X\ub#!  
struts.url.https.port Bj* M W  
      The HTTPS port used by Struts URLs  |Fe*t  
      设置https端口 :&BE-f  
F5%IsAH  
struts.url.includeParams %:yVjb,Yf  
      The default includeParams method to generate Struts URLs Vu;z|L  
      在url中产生 默认的includeParams gfQ1p?  
Vw+RRi(  
+k\cmDcb  
struts.velocity.configfile fF.sT7Az+  
      The Velocity configuration file path +l;AL5h  
      velocity配置文件路径 b] ~  
?<U">8cP  
struts.velocity.contexts S^_F0</U,  
      List of Velocity context names @waY+sqt=  
      velocity的context列表 S=qx,<J 39  
:Hj #1-U  
q@XxCP]  
struts.velocity.manager.classname iyP0;$  
      org.apache.struts2.views.velocity.VelocityManager implementation class PH>`//D%n?  
      org.apache.struts2.views.velocity.VelocityManager接口名 Qq3UC%Z1  
sZI$t L<j  
struts.velocity.toolboxlocation $PFE>=nM  
      The location of the Velocity toolbox S3ZI C\2  
      velocity工具盒的位置 ASUleOI79(  
struts.xslt.nocache wW|[Im&  
      Whether or not XSLT templates should not be cached ZiC~8p_f  
      是否XSLT模版应该被缓存 2<tU  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八