tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Parse error in application web.xml (addChild: Child name 'jsp' is not unique)
Date Mon, 08 Sep 2003 14:06:39 GMT

Howdy,
You can override it with whatever you want, just don't use the same
<servlet-name> ;)  Servlet names must be unique across both your and the
global web.xml.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Tim Funk [mailto:funkman@joedog.org]
>Sent: Monday, September 08, 2003 9:31 AM
>To: Tomcat Users List
>Subject: Re: Parse error in application web.xml (addChild: Child name
'jsp'
>is not unique)
>
>I always thought (or at least the docs have said) that one can override
the
>default servlet. The same should be true with the jsp servlet too.
>
>-Tim
>
>Shapira, Yoav wrote:
>
>> Howdy,
>> Did you comment out the jsp servlet definition in
>> $CATALINA_HOME/conf/web.xml?  You can only have one servlet with that
>> name "jsp".  The above is the global web.xml which is read in
addition
>> to your application's web.xml.  Most people simply leave the JSP
servlet
>> definition in the global web.xml and don't add it to their own
webapp's
>> web.xml.
>>
>> Yoav Shapira
>> Millennium ChemInformatics
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message