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: [email protected]
For additional commands, e-mail: [email protected]