ok i changed them all to
response.sendRedirect(response.encodeRedirectURL("yourURL"));
that command does work (it forwards now) but i am
still losing my session variables (i am tracking the
session ID between my two controller servlets and its
ID is changing =p)
is there a way to get that
application.getRequestDispatcher to work?
much appreciated,
Rich
--- Walt Black <[EMAIL PROTECTED]> wrote:
> try this
>
>
response.sendRedirect(response.encodeRedirectURL("yourURL"));
>
>
> On Friday 17 May 2002 03:10 pm, you wrote:
> > I'm using tomcat 4.0 on apache
> > 1.3.20 on windows 98.
> >
> > Well i was losing all my session variables and
> FINALLY
> > found this article:
> >
> > http://www.jguru.com/faq/view.jsp?EID=816599
> >
> > so i changed all my response.sendRedirect()
> methods to
> >
> >
> > response.encodeRedirectURL()
> >
> > but those failed to actually move forward so i
> changed
> > them all to:
> >
> >
>
application.getRequestDispatcher("/to/your/URL").forward(request,response);
> >
> > and now I get a compile error "cannot resolve
> symbol.
> > symbol: application
> >
> > do i have to include the 'application' somehow?
> >
> > I'm going INSANE HERE! Please help!
> >
> > thanks =p
> >
> > Rich
> >
> >
> >
> > =====
> > *
> > (\_/)
> > (O.O)
> > ((___))
> > ---"---
> >
> > __________________________________________________
> > Do You Yahoo!?
> > LAUNCH - Your Yahoo! Music Experience
> > http://launch.yahoo.com
> >
> >
>
___________________________________________________________________________
> > 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
>
>
___________________________________________________________________________
> 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
>
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
___________________________________________________________________________
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