cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo <agalla...@agssa.net>
Subject Re: using FileGenerator inside Tomcat without http
Date Tue, 21 Mar 2006 23:10:06 GMT
Michi Marchetti wrote:

>I am working with Cocoon and another servlet which provides XML- source for
>my FileGenerator. Both Servlets, the Cocoon Servlet and the other Servlet
>are running in the same Tomcat. I can contact the other Servlet over http in
>FileGenerator's src- Attribute
>
> <map:generate type="file" src="http://otherServlet..."/>
>
> that works fine.
>
>But since both Servlets are running on the same Tomcat I wanted to ask if it
>is possible to do the same without using http (some kind of internal
>request?) Both Servlets are running on the same system, there would be no
>need to go "out in the wide world" and come back....
>  
>
You can use your localhost address for that:

http://localhost..../my2ndServlet

Best Regards,

Antonio Gallardo.


P.S: No sure if this an obvious answer, but, anyway, I post it....  ;-)
       Please let me know if this is not he expected answer to your 
question.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message