tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: deploying a war file and starting the application
Date Fri, 28 Jan 2011 21:15:29 GMT
On 28/01/2011 21:12, Robert.Jenkin@surecomp.com wrote:
> I have modified the InitServlet class (removed everything). The following is the complete
code of InitServlet
> 
> package com.surecomp.allMATCH.client;
> 
> import javax.servlet.ServletException;
> import javax.servlet.ServletInputStream;
> import javax.servlet.http.HttpServletRequest;
> import javax.servlet.http.HttpServletResponse;
> 
> 
> public class InitServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet
{
> 
> public void destroy() {
> }
> 
> public void init() throws ServletException {
> 	System.out.println("Loaded");
> }
> 
> }
> 
> I have compiled it and placed the class file into C:\Downloads\tomcat-7\apache-tomcat-7.0.6\webapps\allMATCHWeb\WEB-INF\classes\com\surecomp\allMATCH\client
and I expected to see the System.out.println either on the screen or in some log file. I do
not see it anywhere.

web.xml is located where?

What is in the Tomcat log files?

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message