You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ernesto Echeverría <er...@telemovil.net> on 2004/08/20 18:00:40 UTC

RE: [tomcat] Re: Where do I place a servlet class

One of the major differences between your actual version and the your
previous one has to do with disabling the invoker servlet.

I don't know if you've checked this before, but take a look at

http://www.ftponline.com/javapro/2002_11/online/servletsjsp_bkurniawan_11_08
_02/default_pf.aspx

Just to see if that's happening to you.


José Ernesto Echeverría
 

-----Original Message-----
From: John Villar [mailto:john.villar@florhard.com] 
Sent: Viernes, 20 de Agosto de 2004 09:14 a.m.
To: Tomcat Users List
Subject: [tomcat] Re: Where do I place a servlet class

You need to include yet another directive in your web.xml file called
servlet-mapping, search the web for it

Diego, Emil escribió:

> 
>I have upgraded my system from apache 3 and tomcat 3 and am now running
tomcat 4.1.27-13 and apache 2.0.49-4.  My webapp can't find a servlet after
the upgrade.  It's called servUploadMedia.  I had it in my classes directory
and it was configured in my web.xml file:
>
><web-app>
>	<display-name>Upgrade Test</display-name>
>	<session-timeout>900</session-timeout>
>	<servlet>
>		<servlet-name>servUploadMedia</servlet-name>
>		<servlet-class>umJavaLib.servUploadMedia</servlet-class>
>		<load-on-startup>1</load-on-startup>
>	</servlet>
>	<servlet>
>		<servlet-name>CalendarServlet</servlet-name>
>
<servlet-class>com.jsos.calendar.CalendarServlet</servlet-class>
>		<init-param>
>			<param-name>config</param-name>
>
<param-value>/sections/plcmt/students/config/</param-value>
>		</init-param>
>	</servlet>
>
>	<!-- Default directory Files -->
>	<welcome-file-list>
>		<welcome-file>index.jsp</welcome-file>
>		<welcome-file>intro.jsp</welcome-file>
>		<welcome-file>index.html</welcome-file>
>		<welcome-file>index.htm</welcome-file>
>	</welcome-file-list>
></web-app>
>
>Does tomcat 4 look for servlets in a different directory in this new
version ?
>
>Emil Diego
>Website Administrator
>University of Miami School of Business
>
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.736 / Virus Database: 490 - Release Date: 8/9/2004
> 
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.736 / Virus Database: 490 - Release Date: 8/9/2004
> 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>  
>


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



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