Hello Joel,
if I may ask for your help. Did you try "ShowMessage Servlet"?
I couldn't make it read the web.xml page and I wonder if you had the same
problem and how did
you solve it?
Batsheva
-----Original Message-----
From: Joel R. Cochran [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 11:33 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Running my first servlet...doesn't display
Hey! I get to answer my own question!
I found the problem (although I didn't see anything in the doc or the CORE
Servlets book about this)...I had to specify the port on my localhost, like
so: http://localhost:8080/servlet/MyFirstServlet and it worked fine.
Now I'm trying to field test my first .jsp. I wrote a very small .jsp with
one expression in it and saved it in my Tomcat directory. When I try to
execute the .jsp (also on my local machine), everything displays except the
expression, and the source code contains the expression code (I think it
should contain the expression results instead, right?)
Thanks again,
Joel
-----Original Message-----
From: Joel R. Cochran [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 12:23 PM
To: '[EMAIL PROTECTED]'
Subject: Running my first servlet...doesn't display
Hello again from Super Newbie...
I (finally) got Tomcat installed on my Win98 machine:
1. I have Tomcat started.
2. I have my CLASSPATH set to include servlet.jar and jasper.jar
3. I have a compiled class called MyFirstServlet.class in
c:/jsp/tomcat/webapps/ROOT/INF-WEB/classes
(This is just a typical "Hello World" file)
4. In my browser I have entered http://localhost/servlet/MyFirstServlet
5. I get a response saying "The Page Cannot Be Displayed" (standard
unavailable script).
Anyone know why??? I also tried replacing the "/servlet" with the full
path, but to no avail. HELP!!!!!
Joel