tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raphael Kuriyan" <>
Subject Re: tomcat 3.2.3 configuration
Date Tue, 24 Jul 2001 16:21:49 GMT

basic question: do you have an index.html or index.jsp in your
webapps/baseball directory? In order to get a page when you go to
http://localhost:8080/baseball you'll need an index.jsp page in this
directory. If you don't have this, try giving the name of your actual jsp
page - something like http://localhost:8080/baseball/home.jsp

another basic question: are you getting a 404 page not found or 500 internal
server error? If you're getting the latter the problem could lie elsewhere
such as a missing or incompatible java compiler.

all the best,

----- Original Message -----
From: "Aaron Cooper" <>
To: <>
Sent: Tuesday, July 24, 2001 9:41 PM
Subject: RE: tomcat 3.2.3 configuration

Hi William

   Thanks for your reply.  I appreciate it a lot.  Ok, I will try what you
suggested.  However, I do not have any servlets in my application, just JSP
pages.  That being said, is it necessary for me to define a servlet mapping?
Also, when I try http://localhost:8080/servlet/baseball, it still cannot
find the directory.  I've been following the examples I've seen to a tea,
yet unsuccessful.  Aren't computers fun :)

I'll check out the URL you gave too.



>>> William Kaufman <> 07/24/01 12:18pm >>>
It should be

If you want to use


you'll need to define your own web.xml, aliasing your servlet to "/baseball"

vvvv cut here vvvv
^^^^ cut here ^^^^

For more information, read the JSDK spec, at

                                        -- Bill K.

> -----Original Message-----
> From: Aaron Cooper []
> Sent: Tuesday, July 24, 2001 7:59 AM
> To:
> Subject: tomcat 3.2.3 configuration
> Hi folks
>    I am really stumped here and am wondering if someone can
> lend a helping hand.  I want to create my own web
> application.  From what I have read, if I put a directory
> under /webapps, tomcat will automatically add that directory
> to its web applications using ContextManager.
>   I created a /baseball directory under /webapps, however,
> whenever I type in
> http://localhost:8080/baseball, it does not find the
> directory.  So, I went and changed server.xml and added the
> <Context path="/baseball" docBase="webapps/baseball" >
> </Context>.  But that also did not work :)
> Is there something I am doing wrong here? I've noticed in the
> /webapps directory there exists .war files... do I need to do
> create a war file? if so, how?
> Any help would be greatly appreciated!
> thanks!
> Aaron Cooper

Do You Yahoo!?
Get your free address at

View raw message