I would like to know if it's possible to have a web application that processes data like this:
1. Submit form data in a JSP, using the: action="myServlet".
2. In the myServlet code, we process the requests and responses and add what we need to add into sessions.
3. After processing data in the servlet, we use and then display the output using output.jsp.
When I try this, I get a NullPointer exception for some reason.