Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

reporting in doc format  RSS feed

 
Sridhar Raman
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have application server (Tomcat) running on linux machine.
I create some report (I converted a word document to html ) which was basically in doc format to html format and used jsp to fill some data from database. This is working fine but the user wanted to change the report and edit it if needed Since it is in html he cannot edit directly but if i could create the report and convert to doc format and send it the user can edit it.
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, but since the document was created dynamically, the "master copy" cannot be changed, since what the user is getting is a duplication rather than the original.
It would be possible to provide a channel where the user could edit the master copy and send it back, but doing that with WORD documents is a little tricky.
 
Sridhar Raman
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim,
The user will edit and take a printout and fax it for now atleast he has not requested to make the changes in server side
so if you know how to achieve it please reply
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might have better luck working with RTF format documents. The Apache Cocoon web publishing system supposedly has an XML to RTF serializing module. You might look at:
http://www.jfor.org/jfor-cocoon-howto.html
Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!