File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Download Page Layout in form of RTF, PDF and HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Download Page Layout in form of RTF, PDF and HTML" Watch "Download Page Layout in form of RTF, PDF and HTML" New topic
Author

Download Page Layout in form of RTF, PDF and HTML

Suvojit Chakraborty
Ranch Hand

Joined: Nov 10, 2009
Posts: 60
Hi,

I am not sure if this problem belongs to JS domain or not, but I am posting it here because IMO this forum is the closest match. (Forgive me in case I am wrong )

I have a situation where in I have to give users option to download a screen (a success screen containing a transaction number). User may download in following formats : RTF, PDF, HTML.
Is there any way to perform this task using js. I dont think I can use window.print() here, becuase user wont be downloading then.
If js cant be used then how should I proceed to have this task completed?

Thanks
Suvojit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Download Page Layout in form of RTF, PDF and HTML
 
Similar Threads
FOP vs. iText
response object - Body Content
Regarding APIs
display rtf in browser
Downloading a PDF using JSP-JS-Java Servlet