I need to pass data among servlets and I find it very hard.
What I have so far is passing it via session variable but that crashes my app now and then and seem to be bad approach. How do you transfer data among servlets without crashing the application?
You hardly use session. Maybe you should put it in request and use request dispathcer to send the request to another jsp or servlet.
Use the request.setAttribute(String, Object) and the request.getAttribute(String)