kumar raju

Greenhorn
+ Follow
since Oct 10, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kumar raju

i need to generate Excel , when user clicks on icon in browser....
in servlet i am using this code.. to generate Excel
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition", "attachment; filename=" + "test.xls");

PrintWriter pw = response.getWriter();
pw.println(" \t sub1 \t \t \t \t \t sub2\t \t \t \t");
....
the problem is ..once i click on icon it launches excel appliaction, but could not open the file ...(says file is not found)...but i can save and see the data...(the problem is only with direct opening of the file)...
any help?
[ October 10, 2003: Message edited by: kumar raju ]
[ October 10, 2003: Message edited by: kumar raju ]
[ October 10, 2003: Message edited by: kumar raju ]
20 years ago