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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 4v;/"4)'  
8q_nOGd  
struts.action.extension `On%1%k8  
      The URL extension to use to determine if the request is meant for a Struts action :V&#Oo  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 d;K,2  
)<%GHDWL  
struts.configuration T{Av[>M  
      The org.apache.struts2.config.Configuration implementation class LBTf}T\  
        org.apache.struts2.config.Configuration接口名 iNcB6,++  
06ZyR@.@v  
struts.configuration.files uT_bA0jK  
      A list of configuration files automatically loaded by Struts lwSA!W  
      struts自动加载的一个配置文件列表 k/>k&^?  
Z<`QDBN"4  
struts.configuration.xml.reload 3qP! (*  
      Whether to reload the XML configuration or not d4~!d>{n|c  
      是否加载xml配置(true,false) yN9/'c~  
Mp}U>+8  
struts.continuations.package up1kg>i%"  
      The package containing actions that use Rife continuations t\ ym4`"  
      含有actions的完整连续的package名称 s~3"*,3@  
{>9vm!<[*\  
struts.custom.i18n.resources `2G 0B@  
      Location of additional localization properties files to load ^)TZHc2a[  
      加载附加的国际化属性文件(不包含.properties后缀) D KR2b`J  
qeypa !  
struts.custom.properties nPE{Gp) }  
      Location of additional configuration properties files to load T< D&%)  
      加载附加的配置文件的位置 ta %yQd7  
u{J$]%C   
F8nR.|  
struts.devMode W2'u]1bs  
      Whether Struts is in development mode or not &=~Jw5WK  
      是否为struts开发模式 f-^JI*hj  
_vm~yKId  
struts.dispatcher.parametersWorkaround p[>! ;qI  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic EjrK.|I0  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^8OK.iC  
\Cx2$<8  
struts.enable.DynamicMethodInvocation 3v\}4)A[  
      Allows one to disable dynamic method invocation from the URL 0 *2^joUv  
        允许动态方法调用 xcty  
<m'W{n%Pp  
struts.freemarker.manager.classname 4S5U|n  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,?S1e#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 +87|gC7B  
''tCtG" Xi  
struts.i18n.encoding >4 VN1 ^  
      The encoding to use for localization messages }"Clv /3_  
      国际化信息内码 Qu|H_<8g  
1aDx 6Mq  
struts.i18n.reload 4}`z^P<C  
      Whether the localization messages should automatically be reloaded Qhy!:\&1  
      是否国际化信息自动加载 5<YV`T{5Kl  
yvv]iRk<  
struts.locale O |!cPB:  
      The default locale for the Struts application k..AP<hH  
      默认的国际化地区信息 }20~5!  
=bgWUu\F  
struts.mapper.class kntYj}F(  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class W[/Txc0$  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 WUrE1%u  
0~4Ww=#  
struts.multipart.maxSize E6XDn`:  
      The maximize size of a multipart request (file upload) \xG_q>1_  
      multipart请求信息的最大尺寸(文件上传用) LGB}:;$AL  
c^3,e/H  
struts.multipart.parser -!q^/ux  
      The org.apache.struts2.dispatcher.multipart. - ({h @  
      MultiPartRequest parser implementation for a multipart request (file upload) !y+uQ_IS@  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) x n?$@  
4( $p8J  
*+(rQ";x  
struts.multipart.saveDir %tB7 &%ut  
      The directory to use for storing uploaded files 2ca#@??R  
      设置存储上传文件的目录夹 ^p)#;$6b  
8wV`mdKN  
struts.objectFactory FRa>cf4  
      The com.opensymphony.xwork2.ObjectFactory implementation class B`|f"+.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |P@N}P@  
f*}}Az.4  
struts.objectFactory.spring.autoWire "%lIB{  
      Whether Spring should autoWire or not xqs ,4bcbY  
      是否自动绑定Spring ox*1F+Xri  
.exBU1Yk@  
struts.objectFactory.spring.useClassCache uP G\1  
      Whether Spring should use its class cache or not ml@;ngmp.  
      是否spring应该使用自身的cache `J] e.K  
#lR-?Uh  
struts.objectTypeDeterminer $Q"D>Qf{G  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 'Fy"|M;2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 (\ge7sE-oo  
t0,=U8]w  
struts.serve.static.browserCache tq}MzKI*  
If static content served by the Struts filter should set browser caching header properties or not ClG\Kpi rh  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 x ]">  
]"}BqS0  
struts.serve.static ":0u%E?s  
      Whether the Struts filter should serve static content or not 3^[P  
      是否struts过滤器应该提供静态内容 "}MP{/  
{]2^b)  
struts.tag.altSyntax 47N,jVt4  
      Whether to use the alterative syntax for the tags or not _K}q%In  
      是否可以用替代的语法替代tags ?r 0rY?  
`WIZY33V  
struts.ui.templateDir , # =TputM  
      The directory containing UI templates 9#TD1B/  
      UI templates的目录夹 M287Z[  
~7 `,}) d  
struts.ui.theme 7Xx3s@  
      The default UI template theme n]df)a  
      默认的UI template主题 "iTjiH)Q(  
R2v9gz;W  
struts.url.http.port 3~{I/ft  
      The HTTP port used by Struts URLs 2xf #@`U  
      设置http端口 )9^)t   
Z#.1p'3qm1  
struts.url.https.port Mgr?D  
      The HTTPS port used by Struts URLs "\i H/  
      设置https端口 r4pX4 7H  
d(|q&b:  
struts.url.includeParams " i:[|7  
      The default includeParams method to generate Struts URLs q>Di|5<y  
      在url中产生 默认的includeParams NB1KsvD{  
1Y87_o'd  
r1}^\C  
struts.velocity.configfile "MU-&**  
      The Velocity configuration file path <l(n)|H1P  
      velocity配置文件路径 MA,*$BgZ  
9w- )??  
struts.velocity.contexts <3!Al,!ej@  
      List of Velocity context names )by7 [I0v  
      velocity的context列表 Tf~eH!~0  
yUj`vu 2  
o3V\   
struts.velocity.manager.classname UAPd["`)y  
      org.apache.struts2.views.velocity.VelocityManager implementation class o2X95NiH  
      org.apache.struts2.views.velocity.VelocityManager接口名 :`e#I/,  
JcUU#>  
struts.velocity.toolboxlocation }/dk2!?ig  
      The location of the Velocity toolbox 0KnL{Cj   
      velocity工具盒的位置 M^[;{p2uZ  
struts.xslt.nocache _tJt eDRY  
      Whether or not XSLT templates should not be cached jB8Q% {%  
      是否XSLT模版应该被缓存 ele@xl  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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