In recent versions of Tomcat, the Invoker servlet is disabled for security
reasons by default.  The Invoker servlet is what lets you just dump a class
into WEB-INF and call it without mapping a URL.

You either need to enable the Invoker servlet (not recommended, especially
in production), or explicitly map your servlet and a URL in web.xml.

See the /examples webapp and the /examples web.xml file.

John


> -----Original Message-----
> From: Terje Hops� [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 12, 2003 6:21 PM
> To: [EMAIL PROTECTED]
> Subject: Setting up Tomcat
> 
> 
> Hello,
> 
> I have used Tomcat 4.0.4 (I think it was) on my portable 
> computer for testing. Now I am setting up 4.1.18 on my 
> stationary but it will not work. I have a index.html which 
> contains a menu.jsp (both on root-catalog) which is calling a 
> Katalog.class that is stored in WEB-INF/classes. I the 
> previous version it works fine but in the new version it 
> fails on references to class Katalog. I cant find out what I 
> have done different now and why it is not working.
> 
> All classes are recompiled.
> 
> Java is JAVA_HOME=C:\j2sdk1.4.1_01
> 
> Any suggestions?
> 
> Regards Terje
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to