Did you restart tomcat after you created the new context?

Have you looked at the logs in the logs directory?

-----Original Message-----
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:10 AM
To: Tomcat Users List
Subject: Re: Servlet context problem?


Oops, typs.  In the second paragraph I meant to say that I successfully
accessed my servlet in the browser via "examples/servlet/MyFirstServlet".
Thanks,
Kenny

----- Original Message -----
From: "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 27, 2002 1:08 PM
Subject: Servlet context problem?


> I'm trying to use my first servlet (named "MyFirstServlet") in a context
> that I created (called "graphics").  It is my understanding that the
servlet
> should go in "graphics/WEB-INF/classes" and should be invoked in a browser
> via "graphics/servlet/MyFirstServlet".  This for me doesn't work.  In my
> browser I get an error stating "The requested resource
> (/graphics/servlet/MyFirstServlet) is not available".
>
> For a test, I moved my servlet to "examples/WEB-INF/classes" and accessed
it
> via "examples/WEB-INF/classes" and it worked fine.  This tells me that
> something with my "graphics" context doesn't work.  But if I try to access
a
> static html file via the context, it works fine.
>
> Any ideas?  Thanks,
> Kenny
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


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


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

Reply via email to