tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dionisio Ruiz de Zarate" <dioni...@tinieblas.com>
Subject configuring two servlets into my application
Date Tue, 07 Jan 2003 12:31:07 GMT
i am tryin of configuring two test servlets in mytomcat application but when
i try to declare them into the web.xml appears error:
This file is not valid.
unexpected child element 'servlet'

the configuration is:
<servlet>
<servlet-name>HelloWorld</servlet-name>
<servlet-class>HelloWorld</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorld</servlet-name>
<url-pattern>HelloWorld</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>HolasAlMundo</servlet-name>
<servlet-class>HolasAlMundo</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HolasAlMundo</servlet-name>
<url-pattern>HolasAlMundo</url-pattern>
</servlet-mapping>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message