Hi,
I want to do the following:
1) I have an online form with 20 fields in it. On click of submit button, the form values should be saved in to the database.
2) I have created a
jsp file.
3) Created a form bean Employee.java with getters and setters method.
3) Created an action class which contains Employee as a variable, getter and setter method. getEmployee(), setEmployee(emp)
My Action class:
My jsp page:
Employee.java
it is showing null pointer exception at empInfo.getEmployeeId().
it is not setting the fields in Employee.java .
Am i doing anythign wrong??
Please help.
Its urgent
Thanks