Tuesday, June 06, 2006

A solution to an problem of Hibernate: "Servlet action is not available"

if in the xx.hbm.xml file, you made a mistake,like: you write a wrong property name which doesn't exist in the mapping class. say: "username" is a property in the class "User.class",but you write it as "usename". Then the problem happens, "Servlet action is not available" will display on your page.