RE: Help: invalid web.xml

2003-01-31 Thread Turner, John

The document you should follow is the web.xml DTD itself.  That's the
bible.

John

 -Original Message-
 From: Rob Cartier [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 30, 2003 10:59 PM
 To: [EMAIL PROTECTED]
 Subject: Help: invalid web.xml
 
 
 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-namebase_href/param-name
   param-valuehttp://www.fsasports.com/fsa//param-value
   /context-param
   
 
   servlet
   servlet-nameSendMailServlet/servlet-name
   display-nameSendMailServlet/display-name
   servlet-classSendMailServlet/servlet-class
   init-param
   param-namebase_href/param-name
   param-valuehttp://www.fsasports.com/fsa//param-value
   /init-param
   init-param
   param-namemailhost/param-name
   param-valueapollo.homeip.net/param-value
   /init-param
   init-param
   param-namemailfrom/param-name
   param-value[EMAIL PROTECTED]/param-value
   /init-param
   init-param
   param-nameenvelope_from/param-name
   param-value[EMAIL PROTECTED]/param-value
   /init-param
   /servlet
  
   servlet
   servlet-nameMailPremierApplication/servlet-name
   display-nameMailPremierApplication/display-name
   servlet-classMailPremierApplication/servlet-class
   init-param
   param-namemailhost/param-name
   param-valueapollo.homeip.net/param-value
   /init-param
   /servlet
   
   servlet-mapping
 servlet-nameinvoker/servlet-name
 url-pattern/servlet/*/url-pattern
   /servlet-mapping
  
   taglib
   
 taglib-urihttp://jakarta.apache.org/taglibs/dbtags/taglib-uri
   taglib-location/WEB-INF/dbtags.tld/taglib-location
   /taglib
  
 
   welcome-file-list
   welcome-fileindex.html/welcome-file
   welcome-fileindex.htm/welcome-file
   welcome-fileindex.jsp/welcome-file
   welcome-filedefault.html/welcome-file
   welcome-filedefault.htm/welcome-file
   welcome-filedefault.jsp/welcome-file
   /welcome-file-list
   
 
   error-page
   error-code404/error-code
   location/error404.jsp/location
   /error-page
   
 /web-app
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

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




Help: invalid web.xml

2003-01-30 Thread Rob Cartier
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-namebase_href/param-name
param-valuehttp://www.fsasports.com/fsa//param-value
  /context-param
  

  servlet
servlet-nameSendMailServlet/servlet-name
display-nameSendMailServlet/display-name
servlet-classSendMailServlet/servlet-class
init-param
param-namebase_href/param-name
param-valuehttp://www.fsasports.com/fsa//param-value
/init-param
init-param
param-namemailhost/param-name
param-valueapollo.homeip.net/param-value
/init-param
init-param
param-namemailfrom/param-name
param-value[EMAIL PROTECTED]/param-value
/init-param
init-param
param-nameenvelope_from/param-name
param-value[EMAIL PROTECTED]/param-value
/init-param
  /servlet
 
  servlet
servlet-nameMailPremierApplication/servlet-name
display-nameMailPremierApplication/display-name
servlet-classMailPremierApplication/servlet-class
init-param
param-namemailhost/param-name
param-valueapollo.homeip.net/param-value
/init-param
  /servlet
  
  servlet-mapping
servlet-nameinvoker/servlet-name
url-pattern/servlet/*/url-pattern
  /servlet-mapping
 
  taglib
taglib-urihttp://jakarta.apache.org/taglibs/dbtags/taglib-uri
taglib-location/WEB-INF/dbtags.tld/taglib-location
  /taglib
 

  welcome-file-list
welcome-fileindex.html/welcome-file
welcome-fileindex.htm/welcome-file
welcome-fileindex.jsp/welcome-file
welcome-filedefault.html/welcome-file
welcome-filedefault.htm/welcome-file
welcome-filedefault.jsp/welcome-file
  /welcome-file-list
  

  error-page
error-code404/error-code
location/error404.jsp/location
  /error-page
  
/web-app



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




Re: Help: invalid web.xml

2003-01-30 Thread shawn
Doesn't your taglib come after the welcome-file-list

I think it should.  I'm not sure about the error-page though.

Anyway, the order is relevant.



On Fri, 2003-01-31 at 12:59, Rob Cartier wrote:
 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-namebase_href/param-name
   param-valuehttp://www.fsasports.com/fsa//param-value
   /context-param
   
 
   servlet
   servlet-nameSendMailServlet/servlet-name
   display-nameSendMailServlet/display-name
   servlet-classSendMailServlet/servlet-class
   init-param
   param-namebase_href/param-name
   param-valuehttp://www.fsasports.com/fsa//param-value
   /init-param
   init-param
   param-namemailhost/param-name
   param-valueapollo.homeip.net/param-value
   /init-param
   init-param
   param-namemailfrom/param-name
   param-value[EMAIL PROTECTED]/param-value
   /init-param
   init-param
   param-nameenvelope_from/param-name
   param-value[EMAIL PROTECTED]/param-value
   /init-param
   /servlet
  
   servlet
   servlet-nameMailPremierApplication/servlet-name
   display-nameMailPremierApplication/display-name
   servlet-classMailPremierApplication/servlet-class
   init-param
   param-namemailhost/param-name
   param-valueapollo.homeip.net/param-value
   /init-param
   /servlet
   
   servlet-mapping
 servlet-nameinvoker/servlet-name
 url-pattern/servlet/*/url-pattern
   /servlet-mapping
  
   taglib
   taglib-urihttp://jakarta.apache.org/taglibs/dbtags/taglib-uri
   taglib-location/WEB-INF/dbtags.tld/taglib-location
   /taglib
  
 
   welcome-file-list
   welcome-fileindex.html/welcome-file
   welcome-fileindex.htm/welcome-file
   welcome-fileindex.jsp/welcome-file
   welcome-filedefault.html/welcome-file
   welcome-filedefault.htm/welcome-file
   welcome-filedefault.jsp/welcome-file
   /welcome-file-list
   
 
   error-page
   error-code404/error-code
   location/error404.jsp/location
   /error-page
   
 /web-app
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
shawn [EMAIL PROTECTED]


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