CSSE-230, Setting-up the Web Server

Please install Tomcat on your laptop. Here is information on how to install Tomcat:
  1. I believe you have to be localmgr to install tomcat.

  2. Install it by selecting "32-bit/64-bit Windows Service Installer" from the following web-site: http://tomcat.apache.org/download-80.cgi I accepted the defaults.

  3. Open Control Panel|System|Advanced Tab|Environment Variables and add the JAVA_HOME variable. In my set-up, the Java SDK is located in C:\Program Files\Java\jdk1.8.0_25

  4. There are several ways in which to start up the server, one of them is as follows: Open the bin folder of the Tomcat 6.0 folder and run the tomcat6.exe executable or the startup.bat file.

  5. In your favorite web-browser, open http://localhost:8080 and the server homepage should start up.

  6. The page you see is the index.jsp page in: C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ROOT

  7. I added the form.html file to that "ROOT" folder.

  8. Open the "WEB-INF" folder and create a "classes" folder in it. That "classes" folder will have to contain the "RoseBookServlet.class" file.

  9. You need to modify the "web.xml" file so that it looks like: this

  10. You invoke the "form.html" file by this URL: http://localhost:8080/form.html assuming your server is running.