HI i had create .doc file using <% response.setContentType("application/msword"); response.setHeader("Content-Disposition", "attachment; filename=\"x.doc\""); %> this commend i want to know how to set the header (for example my name is x it will dispaly each page of the doc file ) and how to include image in the header .
hi in my report jsp page i have include this code so that report will store as x.doc in that word document iw ant set the image,name as my header so how cani set that one !???
I have created(manipulate) a word document using <% response.setContentType("application/msword"); response.setHeader("Content-Disposition", "attachment; filename=\"x.doc\""); %> I need to include header information in all the pages which should contain image and my name. How to achieve this functionality using Java Struts
for example i have one report page in that page i ahve in include <% response.setContentType("application/msword"); response.setHeader("Content-Disposition", "attachment; filename=\"x.doc\""); %> and stored as x.doc in that x.doc word document i want to include header as my name x and some image .. if the word document contain 4 page means my name and pic will disaply each page how to achive this???