You can configure Web Server to use the Eclipse JDT Java compiler instead of Ant and another Java compiler.
Download jasper-jdt-6.0.26.jar from tomcat 6.0.26.
This jar file is available from the tomcat maven repository at http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/jasper-jdt/6.0.26/
Add the jar file to the class-path-suffix in server.xml
For example:
<jvm> ... <class-path-suffix>/tmp/jasper-jdt-6.0.26.jar</class-path-suffix> ... </jvm>
Set the compiler to jdt for the JSP servlet in default-web.xml.
For example:
<servlet> <servlet-name>jsp</servlet-name> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> ... <init-param> <param-name>compiler</param-name> <param-value>jdt</param-value> </init-param> ... </servlet>