Rich:

Just an idea:
remove the offending line from your jsp. then compile it. Look a the servlet
which your jsp generates (usually in a "work" dirctory) and then search for the
word "application". (You probably won't find it.)

I found "ServletContext application = null;" decalred in the" _jspService"
method of one of my jsps. What do you have? If you have something else, you
could substitute that name for "application".

Regards,
Geeta

Richard Diaz 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

Reply via email to