wood burning stoves 2.0*
The moose likes JSP and the fly likes Printing word doucment using JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Printing word doucment using JSP" Watch "Printing word doucment using JSP" New topic
Author

Printing word doucment using JSP

Aruna Velpuri
Greenhorn

Joined: May 07, 2003
Posts: 8
Hi
Using a jsp how can print a word document.
Thanks
narasimharao konjeti
Ranch Hand

Joined: Apr 26, 2003
Posts: 130
let me know, do u want to print the document from the word file or html file. if u want to print html file u can use javascript ocument.print() option. and let me know ur exact requirement
cheers


"Unwise to sweat petty stuff, wise to pet sweaty stuff."
Geeta Ramasami
Ranch Hand

Joined: Mar 05, 2003
Posts: 72
Hi..
If you want the response of the JSP to be produced in a Word document, then set the page content type="application/word".Hope u r looking for this.
Cheers
Geeta
Aruna Velpuri
Greenhorn

Joined: May 07, 2003
Posts: 8
Thanks nr konjeti and Geeta.
But my requirement is using jsp i will give list of files with link to print for each file.
Those files may be html, word, or xml etc.,
When user clicks on link how can i print that file using JSP.
Thanks in advance......
Regards
Aruna
Srini Gogineni
Greenhorn

Joined: May 19, 2003
Posts: 7
Originally posted by Aruna Velpuri:
Thanks nr konjeti and Geeta.
But my requirement is using jsp i will give list of files with link to print for each file.
Those files may be html, word, or xml etc.,
When user clicks on link how can i print that file using JSP.
Thanks in advance......
Regards
Aruna

Hi,
use the java script function (window.print()),this need to be invoked on clikc of the particular link.
 
Don't get me started about those stupid light bulbs.
 
subject: Printing word doucment using JSP
 
Similar Threads
Generating a word document
jsp page contents in the word document
regarding ajax
JSP rendering Word document
Reading word document