This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

opening a file

 
Krishna Srinivasan
Ranch Hand
Posts: 1862
Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to display a report in word format or pdf format.how can i open that files and display.that pdf shold be in differnet window not inside browser.
Advance Thanx.
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Krishna-
If this is a silly answer is because I didn't understand your question. Can't you just create an hyperlink with an target="_blank"?
that will open a new window, and since it is a file, a default program will open your pdf/word.
If you have to generate your reports in different formats, then have a look at XML FO.
HTH
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic