You can't handle binary data with JSPs; you need to write a servlet instead.
gendhe ranjith kumar
Joined: Mar 28, 2011
thanks for your response.
the above code is working fine in case of 2003 excel.
it is fails in excel 2007.
thanks & regards
Joined: Mar 22, 2005
Then you got lucky (and the old Excel file format may be more forgiving than the new one). But I repeat: using JSPs to handle binary data will fail eventually. You're better off getting it right from the start than to suffer later.