Hi ranchers,
How can we forward a
string containg xml content from a
servlet to a
jsp? In my assignment i have a jsp page with two buttons, load xml and parse xml. Load xml will display the xml content froma static file within the web app itself to another jsp and parse xml will display the parsed xml content to another file.
I can get the problem to work in a less precise way , i.e.
setting response content type to text/xml to get actual xml content
setting response content type to text/html to get parse xml content
in addition to using RequestDispatcher and forwarding it to the page sending the request.
Please help or suggest some ways.
Thanks,
Lalit Upadheyay