954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Servlet Processing

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 and then display the output using output.jsp.

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

Thanks,
-Ashton.

AshtonHogan
Posting Whiz in Training
210 posts since Jul 2009
Reputation Points: 7
Solved Threads: 1
 

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

javaAddict
Nearly a Senior Poster
Team Colleague
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
 

Please delete this thread

AshtonHogan
Posting Whiz in Training
210 posts since Jul 2009
Reputation Points: 7
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: