You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Andy Nuss <an...@siebel.com> on 2000/02/22 07:04:57 UTC

JSP: problem w/ scratchdir and keepgenerated

Hi,

I'm trying to get Tomcat to keep the compiled java files.

I copied the following from the FAQ:

   <servlet>
      <servlet-name>
	  jsp
      </servlet-name>
      <servlet-class>
	  org.apache.jasper.runtime.JSPServlet
      </servlet-class>
      <init-param>
	  <param-name>
	      keepgenerated
	  </param-name>
	  <param-value>
	      true
	  </param-value>
      </init-param>
      <init-param>
	  <param-name>
	      sendErrToClient
	  </param-name>
	  <param-value>
	      true
	  </param-value>
      </init-param>
    </servlet>
    <servlet-mapping>
	<servlet-name>
	    jsp
	</servlet-name>
	<url-pattern>
	    *.jsp
	</url-pattern>
    </servlet-mapping>

into the web.xml file under the examples/WEB-INF directory

and got the following messages when starting Tomcat

removing servlet: jsp(org.apache.jasper.runtime.JSPServlet)
default: init
cannot load servlet name: jsp

and then none of the example .jsp pages loaded from the browser at this
point.

Any ideas?

Thanks,
Andy