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".

Reply via email to