SSH
Erris
Coding on the way ,writing on the way!
展开
-
SSH的注解实例讲解
全注解SSH 一,hibernate annotation Class注解: 1. @Entity:表明当前类是一个持久化类 2. @Table(name="team",catalog="NBA"):映射一个表team,所对应的数据库是NBA,可以省略 字段属性注解: 1. @GenericGenerator(name = "generator", strategy = "转载 2015-07-04 15:58:04 · 965 阅读 · 0 评论 -
Servlet.service() for servlet jsp threw exception java.lang.NullPointerException
严重: Servlet.service() for servlet [springmvc] in context with path [/XXX] threw exception [java.lang.NullPointerException] with root causejava.lang.NullPointerException at org.apache.jsp.index_js...原创 2018-07-21 11:06:34 · 2506 阅读 · 0 评论