A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
santhosh kumar vk
Joined: Aug 25, 2009
Apr 14, 2010 10:49:41
I am using
logic:iterator tag and bean:write tag in
how to show that values in
formate, I was using content type as application/pdf but it did not work please help me.
Joined: Mar 22, 2005
Apr 14, 2010 11:10:33
I'm not sure what "values in pdf format" means, but PDF is a complex format that can't be generated by JSP or Struts (which are used for textual output, not binary content). You can use libraries such as iText or Apache FOP to create PDFs.
Joined: Sep 29, 2008
Apr 14, 2010 14:16:05
We've already been over this: you do not magically create a PDF just by setting the content type. *You* must generate the PDF, via transformation, third-party library, etc.
I agree. Here's the link:
subject: regarding pdf
Multiple doc upload in single browse click
setting No Cache for JSP
Export jsf page into excel and pdf
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015