Member Avatar for feoperro

Hi,

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 <jsp:forward page="output.jsp"> and then display the output using output.jsp.

When I try this, I get a NullPointer exception for some reason.

Thanks,
-Ashton.

And the code you used?
Also at which line do you get the exception. go there and see what is null

Member Avatar for feoperro

Please delete this thread

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.