tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Micael <caraun...@harbornet.com>
Subject RE: web.xml question
Date Mon, 03 Feb 2003 22:53:27 GMT
Read recent posts on this.

At 05:49 PM 2/3/03 -0500, you wrote:
> > -----Original Message-----
> > From: Haytham Samad [mailto:haytham@speakeasy.net]
> > Sent: Monday, February 03, 2003 5:47 PM
> > To: Tomcat Users List
> > Subject: RE: web.xml question
> >
> >
> > Hi,
> >
> > I think you need to change your url to the following:
> >
> > http://localhost:8080/test/servlets/SessioinTest
> >
> > 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 name!?
>
>Note that in Tomcat 4.1.12 and later, this won't work either on an
>out-of-the-box install.  You should define an explicit servlet-mapping
>in your web.xml.
>
>--
>Tim Moore / Blackboard Inc. / Software Engineer
>1899 L Street, NW / 5th Floor / Washington, DC 20036
>Phone 202-463-4860 ext. 258 / Fax 202-463-4863
>
> >
> > ...
> >
> > -----Original Message-----
> > From: Pooleery, Manoj [mailto:Pooleery@Synygy.com]
> > 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 <servlet>
> >       <servlet-name>SessionTest</servlet-name>
> >       <servlet-class>SessionTestServlet</servlet-class>
> > </servlet>
> >
> > When I type http://localhost:8080/test/SessioinTest, it gives
> > me an error saying requested resource not found.  What could
> > I be doing wrong?
> >
> > Thanks
> > -Manoj.
> >
> >
> >
> > -----Original Message-----
> > From: Paul Hsu [mailto:hsu.paul@verizon.net]
> > 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" <Pooleery@Synygy.com>
> > To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
> > 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: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message