Hi all,
I want to use a servlet (discussion forum) from another Tomcat
context inside Cocoon 2.
The servlet produces XML data that shall be transformed inside
Cocoon.
Here is a snippet from my sitemap that passes parameters to the
servlet at the end of the URL:
<map:actions
default="request">
<map:action name="request" src="org.apache.cocoon.acting.RequestParamAction"/> </map:actions> ...
<map:match
pattern="forum/main/postMsg">
<map:act type="request"> <map:parameter name="parameters" value="true"/> <map:generate src="http://cocoon:8080/forum/main/postMsg{requestQuery}"/> <map:transform src="stylesheets/forum/xslt/menupage_postmsg.xsl"/> <map:serialize/> </map:act> </map:match> This far everything is working fine. But the discussion forum
also contains
forms that pass data using the POST request method.
How can I pass these data to the servlet so that doPost() is called?
Thanks in advance,
Andreas
|
- Send Parameters to Generator with POST Andreas Hartmann
- Send Parameters to Generator with POST Andreas Hartmann
- Win98 Java crash Alex McLintock
- Re: Win98 Java crash Carlos Araya
- Re: Send Parameters to Generator with POST Bernhard Huber
- Re: Send Parameters to Generator with POST Andreas Hartmann