AFAIK using a querystring as parameter is only in the spec since Servlet
API 2.2 (not final yet). Nevertheless it is agreed upon that RD should
be able to handle querystrings. So in the end this is no *real* bug. If
possible, try to use ServletRequest.setAttribute() to pass parameters to
the other servlet.

-hendrik
- - - - - - - - - - - - - - - - - - - - - - - - - - -
  tagtraum industries      http://www.tagtraum.com/
  jo!                 small&smart 2.1 servletengine
  Java Server & Servlets    The German servlet book
  The WebApp Framework        http://www.webapp.de/



Siros Supavita wrote:

>
>
> Hello all,
>
> I have problem in using RequestDispatcher. See example of my code.
>
> RequestDispatcher dispatcher =
> getServletContext().getRequestDispatcher("/protected/servlet/inquiry/InqInvc");
>
> dispatcher.forward(request,response);
>
> This code works well, as anyone expect. But see another code.
>
> RequestDispatcher dispatcher =
> 
>getServletContext().getRequestDispatcher("/protected/servlet/inquiry/InqInvc?occr=1");
>
> dispatcher.forward(request,response);
>
> This results in 404 not found. What happen ??? Is this
> RequestDispatcher limitation ... or this is just a bug ???
> By the way, I'm using WebLogic4.5. Thank you in your interest.
>
> Siros

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to