What about skiping all the database releated stuff to check wether it is the servlet stuff that is not working?
like:
May be you should first set the session attribute and perform the RequestDispater.forward after that. Like in the code above. In your code you invoke the forward and then set the attribiute.