Hello every one,
My problem is that , when i am insert a new record to database using struts2 and hibernate3 a null pointer exception is given because my database one id is generate when new record insert which is auto increment when insert new record null id pass and same time file upload to drive successful but record not insert into a Mysql 5.0.5 database my tomcat server gives exception is as follow:
My jsp is:
My struts.xml file is:
My hibernate.cfg.xml is:
My Action class is TenderAction.java
My bean class Tender.java is :
My DAO i.e. database connectivity TenderDAOImpl.java class is:
Please give me solution i am facing that problem from 3 days
Thank you