struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoran Avtarovski <zo...@sparecreative.com>
Subject Re: Printing a PDF file from JSP
Date Wed, 19 Dec 2007 22:03:44 GMT
I don't know if you can print the file without displaying it first.

To display it, I'd just use the stream result in S2 and S1, just hijack the
request and stream the file to the user.

I'm just trying to think how you could set it up to print only. Maybe Flash
where you have greater control.

Z. 

> 
> Hi,
>  
> Is it possible to print a PDF file from a JSP.The pdf resides in my
> application server.
> 
> Regards
> Srinivasa Prasad
> 
> -----Original Message-----
> From: Jake Robb [mailto:jrobb@sircon.com]
> Sent: Wednesday, December 19, 2007 2:30 PM
> To: Struts Users Mailing List
> Subject: RE: Struts 2 and SSL
> 
> Have a look at the implementation of the plugin's interceptor:
> 
> http://struts2-ssl-plugin.googlecode.com/svn/trunk/plugin/src/main/java/
> com/googlecode/sslplugin/interceptors/SSLInterceptor.java
> 
> Just change it so that it looks at something else instead of the
> annotation.
> 
> -Jake
> 
> 
> -----Original Message-----
> From: Maxx [mailto:maxxyme@gmail.com]
> Sent: Wednesday, December 19, 2007 2:10 PM
> To: Struts Users Mailing List
> Subject: Re: Struts 2 and SSL
> 
> Hello,
> 
> Good idea, but when it's about "annotations", is it about Java 5?
> How to handle/use this in Java (1.)4 ?
> 
> Thanks,
> Maxx
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - -
> 
> This message is intended only for the personal and confidential use of the
> designated recipient(s) named above.  If you are not the intended recipient of
> this message you are hereby notified that any review, dissemination,
> distribution or copying of this message is strictly prohibited.  This
> communication is for information purposes only and should not be regarded as
> an offer to sell or as a solicitation of an offer to buy any financial
> product, an official confirmation of any transaction, or as an official
> statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
> secure or error-free.  Therefore, we do not represent that this information is
> complete or accurate and it should not be relied upon as such.  All
> information is subject to change without notice.
> 
> --------
> IRS Circular 230 Disclosure:
> Please be advised that any discussion of U.S. tax matters contained within
> this communication (including any attachments) is not intended or written to
> be used and cannot be used for the purpose of (i) avoiding U.S. tax related
> penalties or (ii) promoting, marketing or recommending to another party any
> transaction or matter addressed herein.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 



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


Mime
View raw message