aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem in exporting the jsp in excel
 
Similar Threads
Tiels tags are not processing
JSP Processing Error
NullPointerException on tiles
Struts1 tiles
Form getting submited multiple times + Struts 2.1 +Ajax