cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Problems Integrating a Servlet.
Date Wed, 16 Apr 2003 18:10:11 GMT
Hello Victor,

Victor Batista wrote:
> Hello!
>  I am using Cocoon 2.1 (CVS version), and I am trying to integrate a 
> servlet following the instructions  from:
>   http://wiki.cocoondev.org/Wiki.jsp?page=IntegrateAServlet
> 
> I have defined the following inside my pipeline:
> 
> <map:match pattern="foo">
>   <map:act type="request">
>     <map:parameter name="parameters" value="true"/>
>     <map:generate src="http://127.0.0.1/portal/test{requestQuery}" />
>   </map:act>
>   <map:serialize type="html"/>
> </map:match>
> 
> <map:match pattern="bar">
>   <map:act type="request">
>     <map:parameter name="parameters" value="true"/>
>     <map:generate src="/test{requestQuery}" />
>   </map:act>
>   <map:serialize type="html"/>
> </map:match>

this does not access the servlet, but searches for a file /test on the 
disk. I wonder how this should work.

Joerg

> The "foo" URL works correctly, although whhen i try the "bar" URL
> I get a page not found error (404).
> 
> Can any one help me please?
> 
> Thanks in advance,
>   Victor Batista


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


Mime
View raw message