Actually, I'm fairly certain it's not a relative URL problem.  I've tried the same JSP
page using the .92 reference implementation version and it works just fine.  That's
actually what is confusing me.  I'm getting a class cast exception when I pass in the
request and response that JRun gives me.
                            -Jeff

Costin Manolache wrote:

> Jeff Lehman wrote:
>
> >     Has anybody been able to include files on JRun 2.3 using
> > getRequestDispatcher() ?  I tried the following piece of code:
> >
> > getServletContext().getRequestDispatcher("foo").include(request,response);
> >
> > and it gives me a the following exception:
> >     java.lang.ClassCastException
> >         at
> > com.livesoftware.jrun.JRunServletContext$JRunRequestDispatcher.include(Compiled
> >
> > Code)
> >
>
> Well, it seems you ask the question on the wrong list, this is a servlet 2.1
> question.
> You should check if getRequestDispatcher() returns null ( it should if it doesn't
> support the getting "foo" - and I suspect the only think you can use is a relative
> URL for
> a servlet ).
>
> Costin
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JSP-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to