That's because the uri parameter you pass to getRequestDispatcher refers to a resource that cannot be located. I.E. no request dispatcher is found.
-----Original Message-----
From: Russ White [mailto:[EMAIL PROTECTED]]
Sent: den 10 oktober 2000 22:52
To: Orion-Interest
Subject: RequestDispatcher null
using Orion 1.3.9
I have some servlet code that does something like this:
String uri = request.getRequestURI();
ServletContext sc = this.getServletContext();
RequestDispatcher rd = sc.getRequestDispatcher(uri);
rd.forward(request,response);
When it executes the RequestDispatcher is null.
why?
Is there another way to do this?