I am having a tough time trying to create a valid web.xml
using taglib

Is there a document that I can follow that will show me
to hiearchy of a properly formatted document
I am supplying my current web.xml for anyones review
and correction. XMLWriter says the taglib declaration
I am usng is invalid. I am confused . It looks ok

thanks in advance

Rob

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd";>

<web-app>
  <display-name>
        Farmington Sports Arena
  </display-name>
  <description>
        Farmington Sports Arena
  </description>
  
   <context-param>
        <param-name>base_href</param-name>
        <param-value>http://www.fsasports.com/fsa/</param-value>
  </context-param>
  

  <servlet>
        <servlet-name>SendMailServlet</servlet-name>
        <display-name>SendMailServlet</display-name>
        <servlet-class>SendMailServlet</servlet-class>
        <init-param>
                <param-name>base_href</param-name>
                <param-value>http://www.fsasports.com/fsa/</param-value>
        </init-param>
        <init-param>
                <param-name>mailhost</param-name>
                <param-value>apollo.homeip.net</param-value>
        </init-param>
        <init-param>
                <param-name>mailfrom</param-name>
                <param-value>[EMAIL PROTECTED]</param-value>
        </init-param>
        <init-param>
                <param-name>envelope_from</param-name>
                <param-value>[EMAIL PROTECTED]</param-value>
        </init-param>
  </servlet>
 
  <servlet>
        <servlet-name>MailPremierApplication</servlet-name>
        <display-name>MailPremierApplication</display-name>
        <servlet-class>MailPremierApplication</servlet-class>
        <init-param>
                <param-name>mailhost</param-name>
                <param-value>apollo.homeip.net</param-value>
        </init-param>
  </servlet>
  
  <servlet-mapping>
        <servlet-name>invoker</servlet-name>
        <url-pattern>/servlet/*</url-pattern>
  </servlet-mapping>
 
  <taglib>
        <taglib-uri>http://jakarta.apache.org/taglibs/dbtags</taglib-uri>
        <taglib-location>/WEB-INF/dbtags.tld</taglib-location>
  </taglib>
 

  <welcome-file-list>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>default.html</welcome-file>
        <welcome-file>default.htm</welcome-file>
        <welcome-file>default.jsp</welcome-file>
  </welcome-file-list>
  

  <error-page>
        <error-code>404</error-code>
        <location>/error404.jsp</location>
  </error-page>
  
</web-app>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to