tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Nuss" <andyn...@siebel.com>
Subject JSP: problem w/ scratchdir and keepgenerated
Date Tue, 22 Feb 2000 06:04:57 GMT
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


Mime
View raw message