Women in Technology

Hear us Roar



Article:
  Deploying Web Applications to Tomcat
Subject:   action for servlet
Date:   2003-11-23 11:48:08
From:   anonymous2
Maybe someone brought this up already (from the comments at the top), but for Tomcat 4.1.29, I did not need to add anything to the web.xml file, but I did need to specify the form action as


"/onjava/servlet/...."


rather than
"servlet/...."


I thought this was a great article, but if you don't do the bit above, Tomcat will look in the ROOT/WEB-INF/classes rather than onjava/WEB-INF/classes, and your servlet won't load.


-Chris