struts的报错

违反数据库完整性约束。
只能插入一条记录,再次插入就抛出异常(出现重复字段)
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException

struts将值返回到界面是如果界面没有值的显示那么可能是action中的result没有get方法

猜你喜欢

转载自blog.csdn.net/csdnlcw/article/details/83280488