Thanks for responding!

Request to Servlet A goes like: /base/servletA?param1=val1
I create a URL that looks like
/base/servletB?param1=val1&param2=val2&param3=val3 and then invoke the
forward operation as:

getServletContext().getRequestDispatcher(url).forward(request, response);

Request arrives at servletB (I can tell because I had the application on
debug) but the request URI is set as: /base/servletA?param1=val1
I hoped it'd be some sort of configuration but was unable to find anything.

On Thu, Apr 6, 2017 at 4:13 PM, Simone Bordet <[email protected]> wrote:

> Hi,
>
> On Thu, Apr 6, 2017 at 10:22 AM, Chiranjib Bhattacharjee
> <[email protected]> wrote:
> > Hi Team,
> >
> > The piece of code that isn't working with jetty is:
> >
> > request.getServletContext().getRequestDispatcher(url).forward(request,
> > response);
> >
> > or
> >
> > getServletContext().getRequestDispatcher(url).forward(request,
> response);
> >
> > or
> >
> > request.getRequestDispatcher(url).forward(request, response);
>
> We have tons of tests that show that the code above is working fine.
>
> You have to define what you mean by "is not working".
> You get exceptions ?
> What do you expect to happen, and what happens instead ?
>
> --
> Simone Bordet
> ----
> http://cometd.org
> http://webtide.com
> Developer advice, training, services and support
> from the Jetty & CometD experts.
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to