1、<constant name="struts.action.extension" value="do" />这个时候访问action都必须加.do

<constant name="struts.action.extension" value="do,," />这个时候可以是.do也可以为空

默认情况下是.action或者是空 配置在

struts常量<constant>说明

2、<constant name="struts.devMode" value="true" />开发模式为true这个时候修改xml配置文件的内容以后不用重新启动Tomcat

3、<constant name=""struts.enable.DynamcMethodInvocation value="true">动态action方法调用开启,默认情况为开启这个时候可以用action!method格式来调用action中的方法

相关文章:

  • 2021-05-14
  • 2021-12-09
  • 2022-12-23
  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-02
  • 2021-11-12
  • 2022-12-23
  • 2022-01-24
  • 2022-12-23
  • 2021-11-21
相关资源
相似解决方案