This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I am trying to replicate the Beer example given in Head First Servlets ans JSP book in Eclipse. I copied all the code in respective folders. The project is saved without any errors.
But I am not able to run the code on web browser. Can anyone please list out the steps to build and run the web app in Eclipse ??
What is the message it is showing, when you run it in browser, is it, resource not available, if yes, can you please check your server log, and see whether the application is properly deployed or is there any error..
Joined: Feb 13, 2010
Yes..I am getting resource not available error. There are no errors in the project. Can you please let me know how to run it on server using browser in case of Eclipse. I tried opening Html page with Eclipse browser and typed localHost:8080 . Its correctly giving startup home page for tomcat but when I type http://localhost:8080/BeerApp/form.html ...It gives error.(here BeerApp is project name )
In Eclipse, if you have configured the application server, then you can just right click on the server, and choose add or remove projects, and you can add your project to the server (provided, that project is an web application).. so, can you please let us know, how you have developed your project in eclipse, and how you deployed into tomcat...