Flow is here
1) from my
JSP page when i click on a link a
java script method is called, In this method a ajax request to struts action ( this Ajax call handles Success and Failure cases and catches the response text)
2) My struts action performs
a) A call to eclipse BIRT Engine which access a report "test.rptdesign" and as a response it sends HTML Content
Below code is responsible to run and render the report
This Code is responsible to create a HTML File with the response from above code
I can create a HTML page but instead of creating a page i need to send this HTML response directly to my ajax call
In struts i need to return this response to the Ajax call.
Please let me know if you have any questions i need to solve this problem this is very important to me.
Thanks
Praveen