File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Similar Threads
Struts1 tiles
Tiels tags are not processing
Form getting submited multiple times + Struts 2.1 +Ajax
NullPointerException on tiles
JSP Processing Error