struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir N. Nashat" <anas...@CJ.COM>
Subject CODY: Re: Loading pdf files using jsp
Date Tue, 12 Feb 2002 23:27:53 GMT
The server should not have to accept the PDF mime-type. It actually sets the mime type and
the client is the one who needs to make sure it can accept it(by having the correct plugin).
If I am mistaken please correct me.
 
amir
 


>>> cody.burleson@studiointeractive.com 7:04:09 AM 02/12/02 >>>


Maybe you meant that you wanted to "WRITE" a PDF file from JSP?  Loading a
PDF file from a JSP is no different than loading any other web page from
JSP. If the client browser has the Adobe Acrobat plugin installed, any
hyperlink to PDF files will spawn the PDF file in the requesting browser.
You may need to ensure that your server is configured to accepct the PDF
mime-type, but other than that, it's a simple deal.

To write PDF's dynamically, there is a Java library that you can obtain
that is free. You'll have to dig for it though, cause I simply cannot
remember the name or where to get it. There are also numerous commercial
libraries that assist with writing dynamic PDF's on the server.

- Cody







Arun_Kumar_N@sifycorp.com on 02/12/2002 04:27:32 AM

Please respond to Struts Users Mailing List
      <struts-user@jakarta.apache.org>
To:   Struts Users Mailing List <struts-user@jakarta.apache.org>
cc:
Subject:  Loading pdf files using jsp




Hello,
     I want to load a PDF file from JSP.
Is it possible.

Regards
Arun



--
To unsubscribe, e-mail:   <
mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <
mailto:struts-user-help@jakarta.apache.org>




----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message