In my Application, there is a Register form in a Jsp. The values entered in it are then stored to mysql Db.
The action class (Register.java) for inserting values to mysql Db is:
The Jsp:
Struts.xml:
Tried in 2 Dbs but the same result. (The code in comments (in Register.java) are for the Db in Mysql workbench 6.0) What do i miss?