How do you create Microsoft word report through java?

Showing Answers 1 - 1 of 1 Answers

DEBABRAT

  • Nov 24th, 2007
 

to create word doc use MIME type "application/msword"

<--
public void doGet(HttpServletRequest request,HttpServletResponse response)throws Exception{

     response.setContentType("application/msword");//for ms word
     response.setContentType("application/vdn.ms-excel");//for ms excel
-->

OR
use POI ,is an open source apache project to create, read ms office file format
i.e .doc, .xls, for more info visit poi . apache . org/

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions