struts.properties 里面该怎么写 我要怎么才能让加载到 struts.properties

[复制链接]
查看11 | 回复1 | 2011-10-4 17:07:31 | 显示全部楼层 |阅读模式
struts.properties 是可以不要的!!!因为struts.xml文件中 有这个节点, 你可以把你想写在struts.properties的自定义配置写在 struts.xml文件当中.例如,你想 开启 struts2 的开发模式可以直接在 struts.xml文件当中写上.不用再去 去创建 一个 struts.properties,并写上 struts.devMode = true所有的配置项目,其实 你可以去看看 struts2 默认的配置文件 default.properties.位...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行