wood burning stoves 2.0*
The moose likes Servlets and the fly likes Servlet Chaining Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Chaining" Watch "Servlet Chaining" New topic
Author

Servlet Chaining

Satyen Singh
Greenhorn

Joined: Oct 05, 2011
Posts: 21

Following is my code which throws "Null Pointer Exception" can anyone please tell me where exactly I am wrong



And Following is the Error



Thanks in Advance.........
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19672
    
  18

Your RequestDispatcher is null, as is allowed to be returned:
Returns:
a RequestDispatcher object that acts as a wrapper for the resource at the specified path, or null if the ServletContext cannot return a RequestDispatcher


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Satyen Singh
Greenhorn

Joined: Oct 05, 2011
Posts: 21

Thanks Rob,
It is working.......

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19672
    
  18

You're welcome.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet Chaining