On Friday 15 October 2004 13:52, Dave Minter wrote:
> I'm trying to get Jasper to pre-compile my JSP pages. I've got an Ant
> task (swiped from the manual) kicking this off, and it works pretty
> well up to a point. However...
>
> This application has a number of pages that are built out of JSP
> fragments. Something like this:
[snipped]

> Obviously file B isn't valid on its own - it has an undefined label
> "s". On the other hand, A is entirely valid.
>
> I can't figure out a way to tell Jasper (via the Ant task) NOT to try
> to compile B.jsp on its own, without making B unavailable as an
> include to A.

I've given JSP segments (fragments) a .jspf extension and that does the 
trick for me. See the spec JSP.1.1.8.

Michael

-- 
Michael Schuerig                 Nothing is as brilliantly adaptive
mailto:[EMAIL PROTECTED]       as selective stupidity.
http://www.schuerig.de/michael/    --A.O. Rorty, The Deceptive Self

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to