I'm trying to use a bean in a JSP page. This works fine if the page is in
the html directory for the web-app (so ./html for the default-site app) with
the bean classes in web-app-root/beans.

But if I create a web-app then reference the web-app in web-site.xml (so
<web-app load-on-startup="true" root="/home">../home/html/</web-app>

I can't even compile a jsp page with a <%@ page import="cal.* %> tag in - it
doesn't seem to matter where I put the .class files and I don't even have to
reference a bean just a one line .jsp file (with the above jsp in) doesn't
compile.

BTW .java classes aren't persisted in the case of a compilation failure, but
they would be a really cool thing to have to help track down bugs, oh and it
would be really nice to have a log message telling us exactly what failed
during the compilation phase.

I'm using 0.8.1 BTW (and eagerly awaiting 0.8.2!)

Kevin Jones

Reply via email to