tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haytham Samad" <>
Subject RE: web.xml question
Date Mon, 03 Feb 2003 22:47:04 GMT

I think you need to change your url to the following:


or change servlets to servlet, not sure which at this point.  This is
basically how you call a servlet that is not mapped to a specific url
pattern in your web.xml config file.  I am assuming test is your context


-----Original Message-----
From: Pooleery, Manoj []
Sent: Monday, February 03, 2003 4:31 PM
To: 'Tomcat Users List'
Subject: RE: web.xml question

Maybe I am doing this incorrectly - but I have a servlet class in my
WEB-INF/classes directory(SessionTestServlet.class) and in my web.xml, I
have an entry like this

When I type http://localhost:8080/test/SessioinTest, it gives me an error
saying requested resource not found.  What could I be doing wrong?


-----Original Message-----
From: Paul Hsu []
Sent: Monday, February 03, 2003 5:24 PM
To: Tomcat Users List
Subject: Re: web.xml question

Not really, if you have a servlet is used for startup a background process,
then you do not need a mapping section.

----- Original Message -----
From: "Pooleery, Manoj" <>
To: "'Tomcat Users List'" <>
Sent: Monday, February 03, 2003 2:22 PM
Subject: web.xml question

> Is it necessary that for each of the <servlet> elements in the web.xml, a
> corresponding <servlet-mapping> element should be there? (For a context
> other than root).
> Thanks
> -Manoj.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message