wood burning stoves*
The moose likes JSP and the fly likes read generated html page and write into word doc? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "read generated html page and write into word doc?" Watch "read generated html page and write into word doc?" New topic
Author

read generated html page and write into word doc?

Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
i want to read a generated html page, which generates table dynamically... and i have to write the generated content into word document using java...(for printing purpose).
[ August 23, 2007: Message edited by: Bear Bibeault ]

Abhishek
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

What do mean when you say read a 'generated' html page.
What is generating it?
Where are you trying to read it?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
thanks for the reply..
timetable is generated dynamically...
i have to read the entire timetable and write it into .doc file.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41064
    
  43
I'm afraid that's even less clear than what you wrote before. Are you trying to read HTML from a URL like http://www.javaranch.com, or where is this HTML coming from? Are you generating it yourself (using JSP or some such technology), or is it ready-made?

There is no HTML-to-Word converter I am aware of, certainly no free one.


Ping & DNS - my free Android networking tools app
Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
iam sorry for that, iam not reading from any url....the html page is generated by me using jsp.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

There is nothing built into JSP for building Microsoft Word documents.
There are third party Java products for interfacing with Microsoft Office Products; POI is the only one that comes to my mind.

I don't know how easy or difficult it would be to integrate any of these products with JSP.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: read generated html page and write into word doc?
 
Similar Threads
Accessing servlet variable through JavaScript
Important!
w3c
Generating Word Doc From HTML page displayed
What's the point of using JSP?