Hi,
I have a html form where in i get values from the user, i m sending it to a
servlet for validating the values entered by the user,The servlet in turn calls a
EJB which interacts with the database via a procedure calls,Now my problem is if the database procedure throws some exception , it is rethrown to the servlet via the EJB and the servelt redirects it to the same html page(where the user had entered earlier).Now i have to retain all the values previously entered by the User(i Know i have to keep it in session )but let me know the better methods of where to put them in session like which place these variables have to be set