You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mike Schrag <ms...@cavtel.net> on 2002/02/04 21:56:46 UTC

[PATCH] configurable jsp servlet base

Currently the default base class for a JSP is hardcoded into JspC.  The base class can be overridden individually for each JSP, but
there is no way to override the default (i.e. if you have your own standard custom base class).  This patch adds:

1) a -jspservletbase XXX option to JspC commandling
2) a getJspServletBase() method onto the Options interface
3) an implementation of getJspServletBase() on JspC and EmbededServletOptions (doesn't Embedded have 2 d's?) that defaults to the
original return value (Constants.JSP_SERVLET_BASE)
4) modification to JspParseEventListener to retrieve the JspServletBase from the Options in the constructor

Mike