tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: problem for mapping servlet
Date Thu, 20 Feb 2003 10:54:36 GMT


  <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:MARC-AURELE.NGOXUAN@sgam.com] 
Sent: Thursday, February 20, 2003 5:50 AM
To: 'tomcat-user@jakarta.apache.org'
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---

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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message