ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Deploying Web Applications to Tomcat
Subject:   Creating and Deploying a WAR File Step 4
Date:   2002-11-13 18:33:07
From:   anonymous2
I have changed the context entry value to docBase="onjava.war" and restarted Tomcat.
Then, I tried to access this url thru browser (IE):
http://localhost:8080/login.jsp, but 404 error occurrs - "The requested resource (/login.jsp) is not available." ; is this the right way to access the page after deploying the war file to ../webapps directory?
Besides, does any know how to configure the localhost:8080 to my defined url like http://www.pqs.com/, appreciate if any one can give me the Tomcat configuration guide documents.