<servlet>
<servlet-name>ChartServlet</servlet-name>
<servlet-class>com.imsl.chart.ChartServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ChartServlet</servlet-name>
<url-pattern>/servlet/com.imsl.chart.ChartServlet</url-pattern>
</servlet-mapping>
John
-----Original Message-----
From: NGO XUAN MARC-AURELE [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 5:50 AM
To: '[EMAIL PROTECTED]'
Subject: problem for mapping servlet
Hi !
I'm trying to use tomcat-4.1.18 & struts.
1.the mapping for struts "ActionServlet" class works fine :
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
[.....]
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
2.but I've got a mapping problem when calling the following servlet :
<servlet>
<servlet-name>com.imsl.chart.ChartServlet</servlet-name>
<servlet-class>com.imsl.chart.ChartServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>com.imsl.chart.ChartServlet</servlet-name>
<url-pattern>/servlet/com.imsl.chart.ChartServlet</url-pattern>
</servlet-mapping>
I can't find where it fails. when I call
http://myserver:8085/foliaTest/servlet/com.imsl.chart.ChartServlet
I receive a 404.
If anyone has suggestions about mapping ...
Thanx !
Marc-Aur�le NGO XUAN
Soci�t� G�n�rale Asset Management
SGAM/ALT/RIM
01 56 37 16 54
06 30 70 18 12
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
---
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]