struts2 中 常量的配置

默认常量的配置在struts2-core下的default.properties中

修改常量的值可以在以下三个位置进行修改

struts.xml-----常用位置

struts.properties(自行在src下新建----该文件只能实现修改常量功能)

web.xml

猜你喜欢

转载自blog.csdn.net/qq_40969108/article/details/88075161