next up previous contents index
Next: Example Up: JspC Previous: Parameters   Contents   Index

Parameters specified as nested elements

This task is a directory based task, like javac, so the jsp files to be compiled are located as java files are by javac. That is, elements such as includes and excludes can be used directly inside the task declaration.

Elements specific to the jspc task are:-

classpath

The classpath used to compile the JSP pages, specified as for any other classpath.

classpathref

a reference to an existing classpath

webapp

Instructions to jasper to build an entire web application. The base directory must have a WEB-INF subdirectory beneath it. When used, the task hands off all dependency checking to the compiler.

Attribute Description Required
basedir the base directory of the web application Yes



Andrew Marlow 2003-07-08