I am trying to develop new web application using Struts 2.0,Hibernate,JSP whenever i am compiling this example everything goes well but when i have entered all the values and clicking the save button then it shows the following exception. I have created the database allcontacts in that i have created the contacts table and i have given the reference of that table in my mapping.hbm.xml
Following is my hibernate.cfg.xml
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"