Skip to content

Releases: CCSF-Coders/JavaEE-Apache-Tomcat

Week 6 Progress

10 Oct 13:53

Choose a tag to compare

Week 6 - Add model.Registration class

  • Added a model.Registration class to represent the database table.
  • passed the model.Registration to a jsp page.
  • displayed values from the passed Java Bean on the jsp page.

Week 5 Progress

10 Oct 13:53

Choose a tag to compare

Week 5 - Add JDBC driver

  • Added a StartStop Listener to the application to capture initialization and shutdown
  • removed Index.java's init method because it was not used
  • Downloaded HSQLDB pure Java database engine.
  • Added hsqldb.jar to the WEB-INF/lib directory
  • Added code to open database connection, create a table, and add a row to the StartStopListener
  • Added code to (re) open a database connection and retrieve rows to the Index.java servlet.

Week 4 progress

26 Sep 15:49

Choose a tag to compare

Week 4 - Finish HTML portion

  * Changed names to lower case.
  * Renamed hello jsp and java to index jsp and index
  * Updated web.xml to reflect changes.
  * Changed web.xml to use "" (context root) as URL for index.
  * Added a simple form to goodbye.jsp and doPost processing to Goodbye.java.

Week3 updates and notes

14 Sep 19:44

Choose a tag to compare

  • Created a Hello.jsp and a GoodBye.jsp.
  • Removed the simple html code from the servlets and put it into the JSP pages.
  • Added redirects in the servlets to point to the to the jsp pages.
  • Fixed up the HTML in the JSP pages to look a little like menus.

Project after week 2

08 Sep 15:16

Choose a tag to compare

Configured Eclipse to run Tomcat, wrote two simple servlets.

Project after week1

07 Sep 23:29

Choose a tag to compare

Installed Apache Tomcat and looked around the configuration directories.