tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Delisle <pierre.deli...@sun.com>
Subject Re: Showing internal request URI's in default responses
Date Wed, 27 Sep 2000 17:25:45 GMT
Larry,

> Put enough content in between the tags and serious hair loss could
> result.  However, I'll save working on this for Tomcat 3.3, if this
> behavior is still present.

Wouln't want any more people to lose hair on that one.
I've just put fixes in for jasper in tomcat-4.0.

    -- Pierre

Larry Isaacs wrote:
> 
> > I was going to say that I don't have any other code changes planned,
> > but an instance of something that works in Tomcat 3.1 but not in
> > Tomcat 3.2 has turned up today at SAS.  It involves a JSP which
> > uses some custom tags we are developing.  It throws an exception
> > during JSP compilation in Tomcat 3.2 but doesn't in Tomcat 3.1?! I
> > need to make sure the problem isn't in Tomcat 3.2.
> 
> This problem turned out to be:
> 
> === JSP file ===
> ...
> <pre:mytag1 ... >
> <pre:mytag2 ... >
> ...
> 
> </pre:mytag1 ... > <!-- Wrong order! -->
> </pre:mytag2 ... >
> ...
> ================
> 
> In Tomcat 3.2, this leads to the exception:
> 
>     Internal Servlet Error:
> 
>     org.apache.jasper.JasperException: Unable to compile class for JSP
>             at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:467)
>     ...
> 
>     Root cause:
> 
>     java.lang.ArrayIndexOutOfBoundsException: -1 < 0
>             at java.util.Vector.elementAt(Vector.java:427)
>     ...
> 
> Put enough content in between the tags and serious hair loss could
> result.  However, I'll save working on this for Tomcat 3.3, if this
> behavior is still present.
> 
> Larry
> 
> ---------------------------------------------------------------------
> 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