Hi,

   I need to initialize a servlet like

public class TestServlet extends HttpServlet{

    @Override
    public void init(ServletConfig config) throws ServletException {
        super.init(config);

        System.out.println("TestServlet");
    }

}

on cocoon 2.2 startup.

Some servlets is set up in cocoon_home/target/rct/webapp/WEB-INF/web.xml. If
I edit that web.xml to add servlet, after server restart input disappear.

Thanks,
Gintare

Reply via email to