byte serving PDF with Tomcat 5.0.27
Hello all, I'm running Tomcat 5.0.27 on Linux, and need to know if this version of Tomcat supports byte serving and how to determine if it's working. If anyone can provide any help, I'd greatly appreciate it! Thank you, Shawn Maceno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: byte serving PDF with Tomcat 5.0.27
Sure, just set the content-type and stream some bytes. As far as I know this applies to all versions of tomcat too. Jilles Maceno, Shawn wrote: Hello all, I'm running Tomcat 5.0.27 on Linux, and need to know if this version of Tomcat supports byte serving and how to determine if it's working. If anyone can provide any help, I'd greatly appreciate it! Thank you, Shawn Maceno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: byte serving PDF with Tomcat 5.0.27
Thanks for the quick reply. I think I need a little more hand-holding on this one, not being the Tomcat genius... Can you provide some kind of example that shows where the content-type setting is and what it needs to be? Thanks again, Shawn Maceno On Wed, 2005-09-28 at 18:52 +0200, Jilles van Gurp wrote: Sure, just set the content-type and stream some bytes. As far as I know this applies to all versions of tomcat too. Jilles Maceno, Shawn wrote: Hello all, I'm running Tomcat 5.0.27 on Linux, and need to know if this version of Tomcat supports byte serving and how to determine if it's working. If anyone can provide any help, I'd greatly appreciate it! Thank you, Shawn Maceno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: byte serving PDF with Tomcat 5.0.27
It's not so much a tomcat setting (it's not something you configure), as it is writing the correct type of servlet. I googled for [servlet binary content] and the first two links looked decent. -Original Message- From: Shawn Maceno [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 1:59 PM To: Tomcat Users List Subject: Re: byte serving PDF with Tomcat 5.0.27 Thanks for the quick reply. I think I need a little more hand-holding on this one, not being the Tomcat genius... Can you provide some kind of example that shows where the content-type setting is and what it needs to be? Thanks again, Shawn Maceno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: byte serving PDF with Tomcat 5.0.27
Am Mittwoch, 28. September 2005 20:58 schrieb Shawn Maceno: Thanks for the quick reply. I think I need a little more hand-holding on this one, not being the Tomcat genius... Can you provide some kind of example that shows where the content-type setting is and what it needs to be? Have a look at the iText homepage at http://www.lowagie.com/iText . This is a library for generating PDF files from Java. There is a step by step tutorial and one section is how to use iText in web applications. I think that's exactly what you're looking for. Even if you don't want to use iText, but the basic mechanisms are shown. HTH, Ralf. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]