违反数据库完整性约束。
只能插入一条记录,再次插入就抛出异常(出现重复字段)
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException
struts将值返回到界面是如果界面没有值的显示那么可能是action中的result没有get方法
违反数据库完整性约束。
只能插入一条记录,再次插入就抛出异常(出现重复字段)
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException
struts将值返回到界面是如果界面没有值的显示那么可能是action中的result没有get方法