• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

reporting in doc format

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic