File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

basic url question

 
sonia pandit
Ranch Hand
Posts: 137
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Sonia
 
Sagar Rohankar
Ranch Hand
Posts: 2904
1
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the server logs, they will point out why the web app you were trying to deploy wasn't succeed.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic