one, recompile the class, redeploy and
that should be it. Your servlet mapings are otherwise ok.
Jon
-Original Message-
From: john-paul delaney [mailto:[EMAIL PROTECTED]]
Sent: 21 September 2002 00:22
To: Tomcat Users List
Subject: RE: Dumb Question com.justatest.test.MyServlet error
Hello... Sorry about pushing so - but I'm stuck with this one
What URL do I use to launch the servlet MyServlet deployed (not a .war) as:
tomcat-root/webapps/jat/classes/com/justatest/test/MyServlet.class?
(tomcat-root/webapps/jat/classes/MyServlet.class launches successfully with
this
url-pattern/MyServletURL/url-pattern
/servlet-mapping
Try it and tell us if it works for you too.
greetings
Andreas Mohrig
-Original Message-
From: John-Paul Delaney [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 9:43 PM
To: Tomcat Users List
Subject: RE: Dumb Question
Message-
From: Andreas Mohrig [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 12:12 PM
To: 'Tomcat Users List'
Subject: RE: Dumb Question com.justatest.test.MyServlet error
I just experimented with this a bit. It seems tomcat provides standard
mappings for the servlets you deploy
Thanks Andreas... at first I didn't want to use any web.xml entries as this was just a
test directory to run the examples of the oreilly book. I just wanted to compile the
examples and run them without messing with web.xml.
Nevertheless, I took your advice but I get the same server exceptions