tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Manolache <cos...@eng.sun.com>
Subject Re: jsp:include: the bug and the fix
Date Thu, 29 Jun 2000 21:16:02 GMT
> There seems to be a contradiction in your explanation, since according
> to the code and our debug output, the context for /test/Outer.jsp
> is "", but the context for /test/Inner.jsp is "/test". Why aren't they
> in the same context? Tomcat finds /test/Outer.jsp when the servlet (which is
> in the test package) attempts to run it

In fact it was more a question than explanation - I want to find out if you are

using the /test context or / ( root ) with a test subdir.

I will try both of them and fix, it looks very strange ( it shouldn't happen )

Costin

>
>
> this.getServletContext().getRequestDispatcher("/test/Outer.jsp").
>
> Also, this code works in Jrun2.3.3 and Jrun3.0.
>
> So for the servlet and Outer.jsp the context appears to be "", but
> it suddenly changes for Inner.jsp.
> Seems like a misunderstanding in the ContextManager. Waddaya think?
> Is there something in the spec that would clarify this?
>
> thanks,
> -randy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message