Hello,

I was wondering if it's possible to GET/POST (both is important) to a
regular HttpServlet (not a SitemapServlet) and then in the sitemap
process the XML generated by that servlet.

For instance, I declare the following bean:

  <bean name="servlet" class="test.MyServlet">
    <servlet:context mount-path="/myblock/servlet"
context-path="blockcontext:/myblock/"/>
  </bean>

Then in the sitemap:

  <map:match pattern="myservlet">
     <map:generate src="servlet:/servlet"/>
     <map:serialize type="xml"/>
  </map:match>

But this doesn't work.

Is this possible?  If yes, can someone provide a complete example or
point me to some relevant docs?

Thanks in advance,

-David

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

Reply via email to