tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob S." <rsli...@home.com>
Subject RE: jsp -> class infinite loop
Date Mon, 17 Jul 2000 07:55:58 GMT
> Did you try to take a look atthe generated .java files (under directory
> "work")?

That's a good point.  Have you checked them out?

> > All three do the same thing. When the .jsp is being converted to .java
> > tomcat gets stuck in an infinite loop where it repeats the
> > last println
> > over and over.

That's interesting, because neither of these should compile:

> > ====[ File 2 ]====
> > <%= int x = 10 %>
> > ====[ File 3 ]====
> > <%= int x = 10 %>

...with this error:

Ctx( hostname ): JasperException: R(  + /t2.jsp + null) Unable to compile
class for JSP/users/tomcat/work/garbageclassname:56: ')' expected.
                out.print( int x = 10 );
                              ^
1 error

You sure you're making it to the correct files?  If you were seeing output
in your browser, that would mean that each JSP was succesfully compiled and
executed.

- r


Mime
View raw message