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'm learning Servlets and JSP technology. and I use Apache Tomcat 6 as web server and servlet container.
I try to construct a simple web-app named FirstWebApp with no java server page ,no servlet and only one html file named index.html which ,when requested, must only display:
Hello,this is my first web-app,using Servlets and JSP technology.
To achieve this , I created a directory named FirstWebApp just under Tomcat web-apps directory . I wrote my index.html file and stored it at the root of FirstWebApp directory. Here's the content of index.html:
I also created a WEB-INF directory at the root of FirstWebApp Directory. This WEB-INF directory contains no subdirectory.I create a web.xml file at the root of WEB-INF directory(I precise that it's WEB-INF directory just under FirstWebApp directory)..Here's the content of the DD file: