Before you try modifying your "server.xml" file, are you able to run the
Tomcat examples? If so, you should be able to drop your LibraryServlet into
the webapps/examples/WEB-INF/classes directory and hit it at:
http://localhost:8080/examples/servlet/LibraryServlet
If you can't run the Tomcat examples, then your problem is something greater
than matching the Url to your LibraryServlet.
- Richard
On Tuesday 14 August 2001 12:04 pm, you wrote:
> I'm afraid this it doens't work in ROOT or examples.
> How would I create a context for ROOT? Another pster
> told me I needed to look at my servlet.xml file which
> should be in the config directory. I don't know how
> the names difer between platforms, but my "Conf"
> directory under jakarta-tomcat-3.2.1 doens't have a
> servlet.xml file. What ight it be called instead on
> Win 2000? Thanks.
>
>
> Ken
>
> Your output from starting TOMCAT (in your earlier
> post) did not indicate a
> context being created for "ROOT", just "examples"
> and "admin". Try putting
> it in the "examples" application and use the same
> url syntax:
>
> http://localhost:8080/examples/servlet/LibraryServlet
>
> As delivered, TOMCAT uses ROOT as the default
> webapp. So, you may also be
> able to reach the application at:
>
> http://localhost:8080/servlet/LibraryServlet
>
> - Richard
>
> On Monday 13 August 2001 07:40 pm, you wrote:
> > I still make make this work. I've made
>
> sure my
>
> > servlet class is in
> > TOMCAT_HOME\webapps\ROOT\WEB-INF\clsses and get
>
> this
>
> > Not Found (404)
> >
> > Original request:
> > http://localhost:8080/servlet/LibraryServlet
> >
> > Not found request:
> > http://localhost:8080/servlet/LibraryServlet
> >
> > This has to be something basic, and it's got to
>
> be me,
>
> > but I cna't figure out what is wrong. Thanks.
> >
> >
> > Ken
>
> __
> Richard Draucker [EMAIL PROTECTED]
> Protected-Data.Com www.protected-data.com
> Remote Data Support For Web Developers
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
--
Richard Draucker [EMAIL PROTECTED]
Protected-Data.Com www.protected-data.com
Remote Data Support For Web Developers