Thanks for responding. I can add a bit of detail.
What I have is a couple of jsp files and a couple of
servlets. I put them in the examples directory, the
jsp in the top level, and the servlets in the
web-inf/classes directory. I do not edit the web.xml
in this directory, and the application works.
I move to another directory, and set up the same
structure, but with a new web.xml file - it is the
bare minimum one found in webapps/ROOT/web-inf. Since
I didn't add my servlets to the web.xml in the
examples directory and the servlets worked fine, I am
wondering why they don't work (or very inconsistently)
in the new directory, even if i now add them to the
web.xml similarly to this:
<servlet>
<servlet-name>AddToSC</servlet-name>
<servlet-class>cart.AddToSCServlet</servlet-class>
</servlet>
any more ideas would again be appreciated.
--- Will Hartung <[EMAIL PROTECTED]> wrote:
> > From: "steven melendez" <[EMAIL PROTECTED]>
> > Sent: Thursday, January 16, 2003 1:15 PM
> > Subject: new web application - inconsistent
> resource not found
>
>
> > I am not using server.xml to set up new contexts -
> > simply creating a new directory in webapps. I am
> > finding this a bit frustrating, as I restart
> tomcat,
> > restart my machine, and can't get it back, but
> then
> > suddenly it will just work again. I'm having no
> > problems in the examples directory - I can always
> > access this content when I am having problems with
> > other directories in webapps.
>
> Are you just directly playing with the directory, or
> are you closely
> following the WAR structure for you apps (with
> WEB-INF, web.xml, et al)?
>
> Without more detail it is hard to say, but I would
> ensure that your app
> followings the WAR structure first, and then start
> from there to debug it.
>
> Regards,
>
> Will Hartung
> ([EMAIL PROTECTED])
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>