cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: How can i call my servlet from cocoon ?
Date Thu, 18 Jan 2001 20:39:33 GMT
"M. Amin" <amin@imkenberg.net> wrote:
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.

You need an ABSOLUTE URL, like http://foo.com/servlet/MyServlet. Your 
servlet is presumably not mapped to the same (virtual) directory as your xml 
file.



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Mime
View raw message