File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes basic url question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "basic url question" Watch "basic url question" New topic

basic url question

sonia pandit
Ranch Hand

Joined: Apr 19, 2008
Posts: 137
I am having trouble viewing the jsp. I have the eclipse project in ex0602. My web.xml has the following configuration:

My jsp milesToKilometers.jsp is in the project directory, which in this case is ex0602.

I deployed the war file in tomcat webapps directory. When I point my browser to:

http://localhost:8080/milesToKilometers.jsp I get a 404. What am I doing wrong?

I tried the following too:

http://localhost:8080/ex0602/milesToKilometers.jsp I still get a 404.

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904

Look at the server logs, they will point out why the web app you were trying to deploy wasn't succeed.

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
I agree. Here's the link:
subject: basic url question
It's not a secret anymore!