If the class com.ecopeland.actions.MainAction extends org.apache.struts.action.Action, it should not be declared as a Servlet, because it isn't a Servlet. In general, a Struts application should have only the Struts ActionServlet declared as a Servlet in the web.xml file.

I'm not sure what you're trying to accomplish by this, but you should declare the /main action in the struts-config.xml file, not in the web.xml file. [ June 05, 2008: Message edited by: Merrill Higginson ]