cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Batista <vbati...@present-technologies.com>
Subject Problems Integrating a Servlet.
Date Wed, 16 Apr 2003 13:29:49 GMT
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>

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