Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

read generated html page and write into word doc?

 
Abhishek Reddy
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do mean when you say read a 'generated' html page.
What is generating it?
Where are you trying to read it?
 
Abhishek Reddy
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the reply..
timetable is generated dynamically...
i have to read the entire timetable and write it into .doc file.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Abhishek Reddy
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iam sorry for that, iam not reading from any url....the html page is generated by me using jsp.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic