Title: XSP making call to fetch html to include for final output?
Hi
I am thinking of writing an xsp page and internally it will try to make a POST request (hiding from the user that we are donig this...) to another web server to fetch a html page and serialises this back as my own html
Title: XSP making call to fetch html to include for final output?
why don't you use
the html generator to do this? it uses jtidy to generate xhtml from the source
html code which can be used in later transformations
http://cocoon.apache.org/2.0/userdocs/generators/html-generator
Title: XSP making call to fetch html to include for final output?
Thanks
for your info but it doesn't seem like what I need. I need to "POST" a form to
get the page and this jtidy thing seems to take in an url path for the
page.
So
inside my XSP I need to do some manipulat
Title: XSP making call to fetch html to include for final output?
But you can also
a sitemap resource. What about doing something like this in
your xsp?
cocoon:/html-generator-matcher?param1=¶m2=
The posted
request parameters are used to pass form values to the
matcher.