You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "M. Amin" <am...@imkenberg.net> on 2001/01/18 17:46:41 UTC

How can i call my servlet from cocoon ?

Hi cocoon-users,
 I have a problem concerning servlets which is ....
I created my servlet which displays a GIF image with a specific id from my database , but when i tried to call this servlet from
cocoon with some like this : <img src="MyServlet?id=20"/> , cocoon generates an error message that the file "MyServlet" not found.  I'm using tomcat as servlet engine and i stored my servlet inside the directory /lib/classes.

Can any one help me to call my servlet correctly from cocoon ?

Thanks,
M. Amin