If I create a new app and put your web.xml in then I get this error

2001-01-02 08:04:36 - Ctx( /jobs ): Mapping with unregistered servlet
invoker

which may be a difference between our setups, but the xml parses fine,

Kevin Jones
DevelopMentor
www.develop.com

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Marina Kalkanis
> Sent: 02 January 2001 16:41
> To: [EMAIL PROTECTED]
> Subject: Re: web.xml
>
>
> Sorry I did fix that error but have sent the original version.  Even with
> the tags correctly closed I still get parse errors.
>
> -----Original Message-----
> From: Kevin Jones [mailto:[EMAIL PROTECTED]]
> Sent: 2 January 2001 13:03
> To: [EMAIL PROTECTED]
> Subject: Re: web.xml
>
>
> You haven't closed the tags properly
>
> >         <taglib>
> >                 <taglib-uri>/testtags<taglib-uri>
> >                 <taglib-location>/WEB-INF/taglib.tld<taglib-location>
> >         </taglib>
>
> should be
>
>          <taglib>
>                  <taglib-uri>/testtags</taglib-uri>
>                  <taglib-location>/WEB-INF/taglib.tld</taglib-location>
>          </taglib>
>
> notice the closing tags,
>
>
> Kevin Jones
> DevelopMentor
> www.develop.com
>
> > -----Original Message-----
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Marina Kalkanis
> > Sent: 02 January 2001 11:49
> > To: [EMAIL PROTECTED]
> > Subject: web.xml
> >
> >
> > Hello All,
> >
> > I use Tomcat and am having problems correctly formatting the
> web.xml file.
> > I have added an entry for a taglib but then I get a parse error
> in my jsp
> > when attempting to use the taglib.  If I remove all the other
> entries from
> > the web.xml except the taglib entry then the parser doesn't produce the
> > error.
> >
> > Can anyone point me to a good reference site for formatting the
> > web.xml?  Or
> > point out my error?
> >
> > The web.xml file I'm using is:
> >
> > <!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>
> >
> >         <servlet-mapping>
> >                 <servlet-name>invoker</servlet-name>
> >                 <url-pattern>/servlet/*</url-pattern>
> >         </servlet-mapping>
> >
> >
> >         <display-name>graduatejobs.com</display-name>
> >         <description>
> >                 This is version 0.1 of the graduatejobs.com
> >                 website, using servlets and JSP pages with Tomcat 3.1
> >         </description>
> >
> >         <taglib>
> >                 <taglib-uri>/testtags<taglib-uri>
> >                 <taglib-location>/WEB-INF/taglib.tld<taglib-location>
> >         </taglib>
> >
> >
> >         <context-param>
> >                 <param-name>debug</param-name>
> >                 <param-value>true</param-value>
> >                 <description>
> >                 true/false. console logging if true.
> >                 </description>
> >         </context-param>
> >
> >         <context-param>
> >                 <param-name>logDir</param-name>
> >                 <param-value>e:/gj/logs</param-value>
> >                 <description>
> >                 debug,system and error log directory.
> >                 </description>
> >         </context-param>
> >
> >         <context-param>
> >                 <param-name>db_name.1</param-name>
> >                 <param-value>gj</param-value>
> >                 <description>
> >                 database name.
> >                 </description>
> >         </context-param>
> >         <context-param>
> >                 <param-name>db_driver.1</param-name>
> >                 <param-value>org.gjt.mm.mysql.Driver</param-value>
> >                 <description>
> >                 mySQL driver.
> >                 </description>
> >         </context-param>
> >         <context-param>
> >                 <param-name>db_url.1</param-name>
> >                 <param-value>jdbc:mysql://192.168.0.1/gj</param-value>
> >                 <description>
> >                 url for mySQL
> >                 </description>
> >         </context-param>
> >         <context-param>
> >                 <param-name>connection_timeout.1</param-name>
> >                 <param-value>15000</param-value>
> >                 <description>
> >                 number of milliseconds each connection
> >                  has to live]
> >                 </description>
> >         </context-param>
> >         <context-param>
> >                 <param-name>checkfrequency.1</param-name>
> >                 <param-value>30000</param-value>
> >                 <description>
> >                 number of milliseconds between PoolSkimmer
> >                 cycles, when the connection timeout parameter is
> > examined</description>
> >         </context-param>
> >         <context-param>
> >                 <param-name>usertimeout.1</param-name>
> >                 <param-value>10000</param-value>
> >                 <description>
> >                 number of milliseconds each calling method has
> >          to use a Connection and not use it or close it before that
> >          Connection returns automatically to its pool.
> >                 </description>
> >         </context-param>
> >         <context-param>
> >                 <param-name>maximumsize.1</param-name>
> >                 <param-value>20</param-value>
> >                 <description>
> >                 an integer denoting the maximum pool size.
> >                 </description>
> >         </context-param>
> >
> >
> >     <servlet>
> >         <servlet-name>startupServlet</servlet-name>
> >
> > <servlet-class>com.graduatejobs.general.StartupServlet</servlet-class>
> >         <load-on-startup>5</load-on-startup>
> >     </servlet>
> >
> >     <session-config>
> >       <session-timeout>10</session-timeout>    <!-- 10 minutes -->
> >     </session-config>
> > </web-app>
> >
> > Thanks
> > Marina
> >
> >
> >
> > NOTICE AND DISCLAIMER:
> > This email (including attachments) is confidential.  If you
> have received
> > this email in error please notify the sender immediately and delete this
> > email from your system without copying or disseminating it or
> placing any
> > reliance upon its contents.  We cannot accept liability for any
> > breaches of
> > confidence arising through use of email.  Any opinions expressed in this
> > email (including attachments) are those of the author and do not
> > necessarily
> > reflect our opinions.  We will not accept responsibility for any
> > commitments
> > made by our employees outside the scope of our business.  We do
> > not warrant
> > the accuracy or completeness of such information.
> >
> > ==================================================================
> > =========
> > 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://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ==================================================================
> =========
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
>
> NOTICE AND DISCLAIMER:
> This email (including attachments) is confidential.  If you have received
> this email in error please notify the sender immediately and delete this
> email from your system without copying or disseminating it or placing any
> reliance upon its contents.  We cannot accept liability for any
> breaches of
> confidence arising through use of email.  Any opinions expressed in this
> email (including attachments) are those of the author and do not
> necessarily
> reflect our opinions.  We will not accept responsibility for any
> commitments
> made by our employees outside the scope of our business.  We do
> not warrant
> the accuracy or completeness of such information.
>
> ==================================================================
> =========
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to