aspose file tools
The moose likes Servlets and the fly likes opening a file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "opening a file" Watch "opening a file" New topic
Author

opening a file

Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1847

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.


Krishna Srinivasan
OCAJP 7/8 Exam, 400+ OCPJP Mock Questions
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
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'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
 
 
subject: opening a file