tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Tomcat 6 error compiling JSPs with nested @include directives
Date Thu, 29 Apr 2010 20:33:39 GMT
2010/4/29 Nuno Faria <>:
> Strange thing. This is a fresh install of a 6.0.26 and I had created
> the example from scratch.
> But I did as you suggested and cleaned my work folder and now it compiles!?
> The names I used where slightly different but I reverted to mine to
> check it back.
> I attached the files and every one with /subdir/*_nested* gave me a
> compile error that it is now fixed.
I cannot reproduce the error with any pages in the that
you attached.

By the way, this list removes attachments, but sometimes they are
visible -- probably when both the sender and the recipient use gmail.

> Then if i try the missing file
> I get (from the first include in the file)
> org.apache.jasper.JasperException: /site_parameters.jsp(6,1) File (...)

Note that the above line should have mentioned
"/includes/site_parameters.jsp", not "/site_parameters.jsp" as it

The correct way to call the included file will be

if contactos is your web application.

The paths in @include are relative to the web application and not to
the site root.

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message