I downloaded the WebEmail app from Sun site and tried to put it inside my Tomcat and start,, But I think the web.xml file is non-complaint ? How to solve this?
Starting service Tomcat-Standalone Apache Tomcat/4.0.4 PARSE error at line 54 column 12 org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,servlet *,servle t-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*, taglib*, resource-ref*,security-constraint*,login-config?,security-role*,env-entr y*,ejb-r ef*)". Starting service Tomcat-Apache Apache Tomcat/4.0.4 Web.xml <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> <web-app> <display-name>JspDemo</display-name> <description>no description</description> <taglib> <taglib-uri>http://java.sun.com/products/javamail/demo/webapp</taglib-ur i> <taglib-location>lib/jtl.jar</taglib-location> </taglib> <servlet> <servlet-name>FilterServlet</servlet-name> <display-name>FilterServlet</display-name> <description>no description</description> <servlet-class>FilterServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>FilterServlet</servlet-name> <url-pattern>compose</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>FilterServlet</servlet-name> <url-pattern>errordetails</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>FilterServlet</servlet-name> <url-pattern>login</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>FilterServlet</servlet-name> <url-pattern>logout</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>FilterServlet</servlet-name> <url-pattern>send</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>FilterServlet</servlet-name> <url-pattern>messageheaders</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>FilterServlet</servlet-name> <url-pattern>messagecontent</url-pattern> </servlet-mapping> <servlet> <servlet-name>AttachmentServlet</servlet-name> <display-name>AttachmentServlet</display-name> <description>no description</description> <servlet-class>AttachmentServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>AttachmentServlet</servlet-name> <url-pattern>attachment</url-pattern> </servlet-mapping> </web-app> =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
