tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitri Colebatch <...@bigpond.net.au>
Subject Re: Forward Request alogn with Parameters
Date Fri, 05 Oct 2001 01:40:26 GMT
It looks like the request dispatcher isn't being found.  try using
"/vieworder.jsp" or whatever the location relevant to your base is.

cheers
dim

On Thu, 4 Oct 2001, Brian Richards wrote:

> I get a null pointer exception at dispatcher.forward()  am i doing something
> wrong?
> 
> thanks
> 
> brian
> 
> request.setAttribute("custName",custName);
> request.setAttribute("custStreet",custStreet);
> request.setAttribute("custZip",custZip);
> request.setAttribute("custEmail",custEmail);
> request.setAttribute("custCity",custCity);
> request.setAttribute("custState",custState);
> request.setAttribute("productName",productName);
> RequestDispatcher dispatcher =
> getServletContext().getRequestDispatcher("vieworder.jsp");
> dispatcher.forward(request,response);
> 
> 
> 
> 


Mime
View raw message