This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Thanks Lasse for moving my thread.... now here is the problem...
I was referring to a book of Professional Java Server ProgrammingJ2EE 1.3 Edition and tried executing a Servlet example... So as per the example i've got
all of these are present in a WAR file which gets successfully deployed on to the server. Also, I have set the context root of the application EAR file to greeting.
The flow of the example is that when the values are submitted through the index.html file, the servlet class processes the values and displays the result in html format.
But when I try accessing the index.html file by giving the path http://localhost:4848/greeting/index.html the HTTP 404: File not Found error is displayed in the browser. The example given in the book is of a previous Java Application Server Platform version and the screen shots given in the book are not the ones I see on my machine.
Can anyone tell me what are the exact steps one has to undertake for deploying such an application?