wood burning stoves 2.0*
The moose likes JSP and the fly likes Problem in exporting the jsp in excel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem in exporting the jsp in excel" Watch "Problem in exporting the jsp in excel" New topic
Author

Problem in exporting the jsp in excel

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 300
Hi List[],

Below is my jsp .I am trying to export this jsp to excel file.

But its still opening in jsp .Please tell me where i am wrong.


Ram Para
Ranch Hand

Joined: Jul 09, 2008
Posts: 50
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" contentType="application/vnd.ms-excel; charset=windows-1252" %>

make sure that these two lines are on the top of jsp.


Ram Parashar
http://doinfinite.com
pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 300
I added these lines in the top of jsp.
But still the same problem is coming.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in exporting the jsp in excel