SECTION: 950-JSP TITLE: JSPJikes QUESTION: Can I use Jikes to compile JSPs? Yes.

Jasper, the JSP compiler now uses ant to compile the JSPs and can thus use any compiler that ant is capable of using.

The <initParameter> option compiler can be set on the JSPServlet to specify which ant compiler option to use. This can be set either in the webdefault.xml file for all web applications, or in jetty-web.xml for a specific web application.

Note: you will need to ensure that your version of Jikes supports the -encoding option and use the <initParam> option javaEncoding to the JSPServlet.

There is more information available on using Jikes in the $JETTY_HOME/etc/webdefault.xml file, and on the Jasper page.