I've been trying for a while to implement the init parameters for JSP
engine mentioned in Tomcat FAQ's but without much luck.

First, I think the 'org.apache.jasper.runtime.JSPServlet' is wrong,
there is no such class in Tomcat 3.2.1. It should probably be
'org.apache.jasper.servlet.JspServlet' instead.

Anyway, I've tried putting the parameters like 'keepgenerated',
'sendErrToClient' etc. into web.xml file but Tomcat refuses to take them
because it rejects duplicate servlet 'jsp'.

Then I tried to put init parameters directly into the
'org.apache.tomcat.context.WebXmlReader' and rebuild the Tomcat
distribution, but they didn't make any difference whatsoever to the
behaviour of Tomcat. If I enable Jikes compiler through the same file it
works fine.

Does anyone have any ideas how to make this work?

Thanks,
Bojan

Reply via email to