Hi James,
Just try using the generator this way:
<map:generate src="http://localhost/?{request:queryString}"/>
It will pass your entire query string to the localhost server in this case.
Kind regards,
Jeroen Reijn
James Holstead wrote:
Could I use my servlet code to define an action and return parameters
that way?
-----Original Message-----
From: James Holstead [mailto:[EMAIL PROTECTED]
Sent: Monday, December 18, 2006 8:38 AM
To: [email protected]
Subject: RE: sitemap get xml from pure java servlet
Thank you Janne,
My apologies, because I just realized that I forgot to mention the need
to pass uri params to the servlet aswell.
I know generate type="file" doesn't support this..I'll look at the
x/cinclude specifications.
-----Original Message-----
From: Janne K. Olesen [mailto:[EMAIL PROTECTED]
Sent: Friday, December 15, 2006 8:24 PM
To: [email protected]
Subject: RE: sitemap get xml from pure java servlet
Hallo James,
there is more than one solution, for example:
1. Cocoon's file transformer is able to read files using "http", so just
use something like
<map:generate src="http://your-servlet-url/" type="file"/>
<map:transform ...>
in your sitemap.
2. Have a look at cInclude-/xInclude-Tranformer to include external
(xml-)-content into your files.
Greetings
Janne K. Olesen
Hello,
I have a servlet that processes credit card transaction for various
gateways and returns XML responses. Is it possible for a sitemap to
send
URI arguments to a 'non-xsp' servlet like this and load the resulting
XML back through a transformer? (wanting to keep third party gateway
software as a non-cocoon servlet
Or am I better of just cut and pasting into an xsp:logic and hoping
for
the best?
James Holstead
Software Engineer
Tybrin Corporation
tybrin.com
850.337.2718
This e-mail and any files transmitted with it are the property of
TYBRIN
Corporation, are confidential, and are intended solely for the use of
the individual or entity to which this email is addressed. If you are
not one of the named recipient(s) or otherwise have reason to believe
that you have received this message in error, please delete this
message
immediately. Any other use, retention, dissemination, forwarding,
printing, or copying of this e-mail is strictly prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]