*
The moose likes Struts and the fly likes regarding pdf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "regarding pdf" Watch "regarding pdf" New topic
Author

regarding pdf

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 144
hi

I am using struts logic:iterator tag and bean:write tag in jsp how to show that values in pdf formate, I was using content type as application/pdf but it did not work please help me.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41134
    
  45
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.


Ping & DNS - my free Android networking tools app
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

http://www.coderanch.com/t/491154/HTML-JavaScript/pdf

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: http://aspose.com/file-tools
 
subject: regarding pdf
 
Similar Threads
Multiple doc upload in single browse click
setting No Cache for JSP
Export jsf page into excel and pdf
regarding pdf
Iframe problem