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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 jk~< si  
Gb"PMai  
struts.action.extension 9rhz#w  
      The URL extension to use to determine if the request is meant for a Struts action bp }~{]:b  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 17-K~ybc  
mV-MJ$3r  
struts.configuration Ba"Z^(:  
      The org.apache.struts2.config.Configuration implementation class t ,0~5>5  
        org.apache.struts2.config.Configuration接口名 ~U`aH~R  
1_A< nt?'R  
struts.configuration.files ;lGjj9we>  
      A list of configuration files automatically loaded by Struts c Mq|`CM  
      struts自动加载的一个配置文件列表 iKu5K0x{>I  
|KuH2, n0  
struts.configuration.xml.reload L;Nm"[ `  
      Whether to reload the XML configuration or not C3|M\[*fp  
      是否加载xml配置(true,false) !O*\|7A(  
kc}e},k  
struts.continuations.package VP[ J#TPU  
      The package containing actions that use Rife continuations 4]Krx m`8  
      含有actions的完整连续的package名称 C@xh$(y  
86[T BX5'  
struts.custom.i18n.resources TtHqdKL  
      Location of additional localization properties files to load o_?YYw-:  
      加载附加的国际化属性文件(不包含.properties后缀) 1g *4e  
J 9z\ qTI  
struts.custom.properties 0 ~VniF^  
      Location of additional configuration properties files to load ^*Sb)tu\ W  
      加载附加的配置文件的位置 j#29L"  
^X^4R1V)  
X[R/j*K  
struts.devMode DEs/?JZG  
      Whether Struts is in development mode or not >XB Lm`a  
      是否为struts开发模式 $cjidBi`):  
zI&oZH^vn  
struts.dispatcher.parametersWorkaround Nx~8]h1(  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic YqYCW}$  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Iu=iC.50}  
*f1MgP*GKF  
struts.enable.DynamicMethodInvocation tip\vS)  
      Allows one to disable dynamic method invocation from the URL n<?:!f`   
        允许动态方法调用 <~'\~Zd+  
t|1?mH9  
struts.freemarker.manager.classname W@ #Y/L:${  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class NT:p6(s^  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /aP`|&G,)  
DvU(rr\p  
struts.i18n.encoding m+zzhv1  
      The encoding to use for localization messages H.*XoktC]  
      国际化信息内码 _E3*;  
*U8Pjb1  
struts.i18n.reload k\A8Z[  
      Whether the localization messages should automatically be reloaded ]"^U  
      是否国际化信息自动加载 -Zkl\A$>  
G >bQlZG  
struts.locale LXr nAt  
      The default locale for the Struts application >a[)F  
      默认的国际化地区信息 +Ibcc8Qud  
2}K7(y!?u  
struts.mapper.class awGI|d  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !M6*A1g5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 }PD? x4  
h>9GfF3  
struts.multipart.maxSize }5\F<b^@Y  
      The maximize size of a multipart request (file upload) LNtBYdB`pK  
      multipart请求信息的最大尺寸(文件上传用) iCnKQG  
Ng2qu!F7  
struts.multipart.parser kU0e;r1N  
      The org.apache.struts2.dispatcher.multipart. nKT\/}d  
      MultiPartRequest parser implementation for a multipart request (file upload) Q YPsqkF*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ap=L lZ  
|X0h-kX4  
UO>ADRs}  
struts.multipart.saveDir m!V ?xGKJ  
      The directory to use for storing uploaded files `$7. (.#s  
      设置存储上传文件的目录夹 uPhFBD7  
pri=;I(2A  
struts.objectFactory -r7*C :E  
      The com.opensymphony.xwork2.ObjectFactory implementation class K} LmU{/t/  
      com.opensymphony.xwork2.ObjectFactory接口(spring) P-.>vi^+  
7' ]n_-fu  
struts.objectFactory.spring.autoWire 8i;EpAwB  
      Whether Spring should autoWire or not j@ lHgis  
      是否自动绑定Spring q{ i9VJ]  
2Gd.B/L6  
struts.objectFactory.spring.useClassCache L TzD\C'  
      Whether Spring should use its class cache or not oSq4g{xvMH  
      是否spring应该使用自身的cache J4&d6[40  
sA[hG*#/S  
struts.objectTypeDeterminer *F[@lY\p  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  R5(<:]  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !`JaYUL[e  
q#$Al  
struts.serve.static.browserCache A!\ g!*  
If static content served by the Struts filter should set browser caching header properties or not {1Z8cV   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Dyyf%'\M  
Wxx? iW ,  
struts.serve.static [@(M%  
      Whether the Struts filter should serve static content or not Bvb.N$G  
      是否struts过滤器应该提供静态内容 E<y0;l?H<  
u_shC"X:  
struts.tag.altSyntax O`<id+rx  
      Whether to use the alterative syntax for the tags or not G(" S6u  
      是否可以用替代的语法替代tags xEb+sE6Z  
@i U@JE`C  
struts.ui.templateDir %ukFn &-2@  
      The directory containing UI templates &NM.}f  
      UI templates的目录夹 DryN}EMOKD  
p~Di\AQ/  
struts.ui.theme j51Wod<[  
      The default UI template theme >+ZBQ]~  
      默认的UI template主题 }8`W%_Yk  
[uqe|< :  
struts.url.http.port hH_&42E6  
      The HTTP port used by Struts URLs >$Sc}a3  
      设置http端口 :sDE 'o  
2:3-mWE  
struts.url.https.port TrD2:N}dI  
      The HTTPS port used by Struts URLs B >2"O  
      设置https端口 dY[ XNP  
2[-@ .gH  
struts.url.includeParams _$g6Mj]1z  
      The default includeParams method to generate Struts URLs :Yeo*v9  
      在url中产生 默认的includeParams RvrZtg5  
|, #DB  
_kGJqyYV  
struts.velocity.configfile 2^RWGCEv  
      The Velocity configuration file path ;r'y/ Y'?  
      velocity配置文件路径 E0?R,+>&4  
B /q/6Pp  
struts.velocity.contexts t+y$i@R:  
      List of Velocity context names HGIPz{/5U  
      velocity的context列表 DO6Tz -%o  
:4JqT|nS  
=Y!x  
struts.velocity.manager.classname DD5 S R  
      org.apache.struts2.views.velocity.VelocityManager implementation class PW7{,1te,  
      org.apache.struts2.views.velocity.VelocityManager接口名 jT/}5\  
}(tuBJ9  
struts.velocity.toolboxlocation tjLp;%6e  
      The location of the Velocity toolbox g2)jd[GM  
      velocity工具盒的位置 vz$-KT4e^  
struts.xslt.nocache |W $epOLg  
      Whether or not XSLT templates should not be cached tf<}%4G  
      是否XSLT模版应该被缓存 #x|xL7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五