This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi I developed a web app using jsp in Eclipse.
The application is running on tomcat which controled thru the eclipse, while the regular tomcat server in my machine is stopped.
Now , I want to move it to another machine to be hosted inside the tomcat on that machine.
Where and how do I have to put it ? Just in webApps and everything should work ? Do I have to do any deployment ?
I just want to mantion that the eclipse created for me all the structure: web-inf, lib ....
I'm trying to do it in my local machine.
I right clicked on the web project (in eclipse) -> execute -> war
and I select to war it into webapps folder.
it creates a war file in webapps. now, when I type in the url:
http://localhost:8080/myWarName I don't get it working.
What do I miss ?
Look at the webapps folder on Tomcat - what is the name of the file or directory given to your application? According to the URL you gave, the name should be myWarName.war for a file, or myWarName for a directory.