You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Patrick Price <jp...@moment.net> on 2000/07/19 00:42:54 UTC

using JSP in Tomcat

I need help running/understanding how to use JSP with Tomcat

I've done the following:

1: added DSO to apache 1.3.12
2: used apxs to create mod_jserv.so and copied it to /www/libexec (my apache
location)
3: copied jserv.conf (aka tomcat.conf) to /www/jserv directory and included
via httpd.conf
4: started apache
5: loaded http://myserver.foo/servlets/Hello and received

	Example Apache JServ Servlet
	Congratulations, ApacheJServ 1.1.2 is working!

6: added to the jserv.conf file:

  <Location /servlets/*.jsp>
    SetHandler servlet-exec
  </Location>

7: tried to load http://myserver.foo/servlets/test.jsp (a simple html file
with one jsp line)
   the error log says:

[18/07/2000 17:29:54:135] (ERROR) ajp12: Servlet Error:
ClassNotFoundException: test.jsp

That's it so far.

Patrick Price
Momentum Online