It's not a secret anymore!*
The moose likes Tomcat and the fly likes Tomcat Web Application Manager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Web Application Manager" Watch "Tomcat Web Application Manager" New topic
Author

Tomcat Web Application Manager

krishn ram
Greenhorn

Joined: Aug 27, 2011
Posts: 1
hi,
i want to run a .jsp file using tomcat in ubuntu...
but i am getting this error message
FAIL - Invalid context path was specified

in the Tomcat Web Application Manager when i give the path in the Deploy region
My .jsp file is n the folder /usr/share/tomcat6/webapps folder. How to overcome this error...?
any help will be really appreciated....
andy brookes
Greenhorn

Joined: Jun 29, 2008
Posts: 6
well i'm not using ubuntu but web manager should be more or less the same across the distros.Anyway you shouldn't use webmanger for single jsp's

firstly do you get the welcome page come up at url http://localhost:8080/index.jsp

if you can see that start by putting say hello.html (which has <h2>hello world </h2> between the body tags) into the ROOT directory of tomcat; then putting
http://localhost:8080/hello.html should show "hello world" in your browser. Thats a start

 
Don't get me started about those stupid light bulbs.
 
subject: Tomcat Web Application Manager
 
Similar Threads
tomcat6: Can't resolve The absolute uri: http://java.sun.com/jsp/jstl/core
My application is false status when i see in Tomcat manager (Struts 2) - URGENT PLEASE
Unable a run a web app in tomcat - pls guide me
Context root accessing
deployment under tomcat