你将
error.add("test",new ActionMessage("测试"));
改成
error.add("test",new ActionError("测试"));
就ok!!!
error.add("test",new ActionMessage("测试"));
改成
error.add("test",new ActionError("测试"));
就ok!!!
解决方案 »
- request.getRequestURI()在weblogic和tomcat下执行不一样?
- 如何在mysql中的日期字段为当前的系统时间?
- 关于数据库连接池的问题,望解决!
- jsf可以实现这样的功能吗?
- 请问怎样在log4j.properties中设置spring和hibernate log输出的级别?
- struts string和hibernate 如何配置dataSource为连接池
- 方法调用问题
- 用了IDEA3.0一段时间了,一直是手工启动tomcat的,请问怎么在IDEA里配置Tomcat,3.0是支持tomcat 4.0的!谢谢了!
- 关于package
- 是jdk的问题还是resin的问题
- 一个很幼稚的问题
- 跪求crystal report 10免费下载地址!!!!!
在jsp中用<html:messages>显示.
ActionErrors在struts1.2中已经被Deprecated.