This tip shows the way to open excel sheet from the JSP code.

Output

<%@ page contentType="application/MyExcel.ms-excel" %>
<%-- Note that there are tabs--%>
2000	3000	4000	5000	6000
12.4	13.4	14.5	15.6	16.7