Hi,
I need to display a
JSP which will include some JSP (like menu jsp, header jsp) etc. These JSPs will be paint the left hand side and bottom side of page. In the remaining section, i should be able to display the OutputStream.
If this OutputStream is a HTML File, it should be displayed on the screen. If is a PDF/CSV/XLS, it should be available as download.
Can someone suggest how this can be achieved?
My Solution though not effective: As I can figure it out I will have to make two
servlet call. First a call to Master Servlet to display the Master JSP (which will display all included JSP) and then other call to a different Servlet (Stream Servlet) to recieve a stream file.
I tried to invoke the Stream Servlet through "IFRAME" , but failed as it just invokes Servlet's init() method.
Some More info Can someone tell me which amongst the below mention files can be displayed with out installation of any third party software in browser as inline?
PDF,HTML,CSV,XML,
RTF,XLS etc.
Our SearchWe have found that to display PDF inline, we need a Adobe Activex Plugin installed for respective browser. So PDF will be a presented as dowbnload.
Thanks and Regards,
Nishant Vartak