Hi Patrick,
I suppose that your compiled Log4jTester in the
"test" package is under this directory:
C:\tomcat-5.x/webapps/ROOT/WEB-INF/classes
The mapping in the web.xml file should be:
log4j
test.Log4jTester
log4j
/servlet/test.Log4jTester
In the IE
Hi Patrick,
You use should use the servlet name you specified rather than the
class name.
Do you need the servlet-mapping as well ?
Here's a example from tomcat:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/webapps/admin/WEB-INF/web.xml?view=markup
Van
Hi there,
I have got an issue running a very first servlet on tomcat5.
The valid Servlet code for Log4jTester :
package test;
public class Log4jTester {
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
}
}
The va