Hi,
I would recommend trying
    RequestDispatcher dispatcher =
request.getRequestDispatcher("url_here");
    dispatcher.forward(request,response);
    return;

I percieve that the problem is that in jsp:forward uses
response.sendRedirect() which tends to ignore the changes to the request.

Hope that it works

Nauman

----- Original Message -----
From: "Ashwani Kalra" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 3:17 PM
Subject: Re: jsp:forward tag strange problem


> Hi,
> Yeah I know this solution. The problem is that I have many jsp to do such
> changes.Also it should work on any j2ee compliant(jsp 1.1 supported)
server.
> Is this a bug in weblogic ?
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Thanks
> Ashwani Kalra
> Sr. Mem. Dev. Staff
> Aithent Technologies
> http://www.geocities.com/ashwani_kalra/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> -----Original Message-----
> From: Smita Kotnis [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 15, 2002 10:12 PM
> To: [EMAIL PROTECTED]; Ashwani Kalra
> Cc: [EMAIL PROTECTED]
> Subject: Re: jsp:forward tag strange problem
>
>
> Hi,
>      One other alternative would be, to use,
> response.sendRedirect="CompletURL". Your URL must me some thing like this,
> thirdpage.jsp?firstString=+firValue+"secondString="+secValue,
> I think, it will work. I too had same problem with this JSP:Forward using
> Params, I did this redirect,  it worked. But, I had only threee parameters
> to be passed, so problem was simpler. If you have a lot of Parameters to
be
> passed to third page, then this above method would not be a efficient way.
> Any way, good luck.
>
> Smita
>
>  Ashwani Kalra <[EMAIL PROTECTED]>:
>
> > Hi,
> > I am facing a strange problem.
> > I have three jsps. First one has simple form which submit to second jsp.
> > I
> > retrieve the values from request object saves them in variable and pass
> > them
> > to third jsp using jsp:forward tag in query string. But the third jsp
> > is
> > unable to get the values. This is happening even if I use <param name=
> > value=> tags. I have noticed if I dont retrieve the values from request
> > in
> > the second jsp and pass some hardcoded values ,they are coming.It means
> > if I
> > do something with request object , then I am unable to obtain the values
> > in
> > third jsp using jsp:forward tag. I am using WL6.1.
> > Can any body tell me why this problem ?
> >
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Thanks
> > Ashwani Kalra
> > http://www.geocities.com/ashwani_kalra/
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> > DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  http://www.jspinsider.com
> >
>
> -------------------------------------------------
> This mail helped a tree grow. Know more at http://green.sify.com
>
> Take the shortest route to success!
> Click here to know how http://education.sify.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to