File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes Opening Word Doc from JSP Page using POI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Opening Word Doc from JSP Page using POI" Watch "Opening Word Doc from JSP Page using POI" New topic

Opening Word Doc from JSP Page using POI

T Ram

Joined: Sep 27, 2005
Posts: 27
Hi All,

I am trying to Open a Word Document from JSP Page....

Since the word document needs to display the formatted output,
I am planning to go for Jakarta - POI Project....

Can i display the images in the Word document using POI...

Any other restrictions is there in the POI....

Could anyone please explain me....

Thanks in advance,

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Just to be clear: you want to open the document on the server, then create something you can display on a web page in HTML from it?

POI does support doc files, but that part of POI is essentially dead - the developers have publicly said that it is not being developed any more. That means if it can't handle the documents you have, you're probably out of luck. An alternative would be the OpenOffice Java API. Some links about both these can be found on the AccessingFileFormats wiki page.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

Moved to the the Other Java Products forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Opening Word Doc from JSP Page using POI
It's not a secret anymore!