Dear frinds
I have a submit button and Link in a
JSP.
If I click on the Submit button , it will validatev the data with validation framework. and if data is fine , it will insert/update the data.
and go next page ...thats fine
I have a link ( Next>>
in the same JSp page. The user can either click on Submit button or on this link to go second page. So, when I click on the Link , it shoudl do teh same process, whatever teh submit button is doing..
means, it should submit teh form, validate the data with validaton framewor, and call teh action class, and insert the data..
I tried with
java ascrtipt , but its not weorking peoperly.. Canany throwe some light on this..