Hi,
Finished rebuilding the pc, so here is some code.
au.com.mattwill.listeners.WebAppContextListener.java
au.com.mattwill.servlets.HelloWorld.java
web.xml
log4j.properties
directory structure is
E:\Apache Software Foundation\Tomcat 5.0\ - this is where
tomcat is installed (form heron I will call this $TomcatHome)
$TomcatHome\webapps\SCWCD\ - this is the webapp I am using (form heron I will call this $SCWCD)
$SCWCD\WEB-INF\clases\au\com\mattwill\listeners & $SCWCD\WEB-INF\clases\au\com\mattwill\servlets is where the classes are
web.xml in the normal place $SCWCD\WEB-INF\
(no suprises so far)
log4j.properties lives in $SCWCD\WEB-INF\
and the logfile produced is
E:/Apache Software Foundation/Tomcat 5.0/logs/scwcd.log
Hope this helps
Mat