John:thanx for your quick answer!
I tried, but it still does not work.

when I used tomcat-3.2.3 on windows, no mapping was needed.
=>my charts worked

but I have to migrate to Solaris with tomcat-4.1.18 (with java -headless
mode)
=>here I'm not able to make these charts work.

with Solaris & tomcat-4.1.18 (with java -headless mode)
the only chart that work is the exemple from jmsl with ChartServlet.

perhaps I'm not mapping the good servlet, but I tried to explore jmsl.jar
it seems to contain only one servlet : ChartServlet.

I don't know what else I could try .

-----Message d'origine-----
De : Turner, John [mailto:[EMAIL PROTECTED]]
Envoy� : jeudi 20 f�vrier 2003 11:55
� : 'Tomcat Users List'
Objet : RE: problem for mapping servlet




  <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]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to