7:30 – 5:00
- Adjusted to my moved desk and then was informed that I may be moving back
- Getting servlets to work – roughed out
- Changing the publishing mechanism so that output is published to the DB. The servlet then accesses the db using the path information to determine which output to show
How to setup the web.xml file to allow Tomcat to access a servlet that your browser can see:
<web-app>
<display-name>Archetype Created Web Application</display-name>
<!- declare –>
<servlet>
<servlet-name>MyServlet</servlet-name>
<servlet-class>com.fgm.servletSandbox.MyServlet</servlet-class>
</servlet>
<!- map –>
<servlet-mapping>
<servlet-name>MyServlet</servlet-name>
<url-pattern>/MyServlet</url-pattern>
</servlet-mapping>
</web-app
