The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Sending a pdf file from a JSP

Posted by ghizzu on April 14, 2001 at 8:53 AM

If I click a url for a pdf file, the webserver sends me the pdf document which the browser displays.

Can I acheive the same using a JSP.

Something like this
A request comes to servlet which is a controller sevlet. It passes the control to one of the beans. The bean does some processing and returns the result to JSP. Now the JSP has to display some results (in one frame) and an pdf file in another frame.




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us