


hi..i tried the above code.but i m facing an error stated below.pls provide a solution.
An error occurred at line: 18 in the jsp file: /xcel.jsp HSSFWorkbook cannot be resolved to a type 15: String state=request.getParameter("state"); 16: String country=request.getParameter("country"); 17: try{ 18: HSSFWorkbook wb = new HSSFWorkbook(); 19: HSSFSheet sheet = wb.createSheet("Excel Sheet"); 20: HSSFRow rowhead = sheet.createRow((short)0); 21: rowhead.createCell((short) 0).setCellValue("First Name");

hi..i tried the above code.but i m facing an error stated below.pls provide a solution.
An error occurred at line: 18 in the jsp file: /xcel.jsp HSSFWorkbook cannot be resolved to a type 15: String state=request.getParameter("state");
16: String country=request.getParameter("country");
17: try{
18: HSSFWorkbook wb = new HSSFWorkbook();
19: HSSFSheet sheet = wb.createSheet("Excel Sheet");
20: HSSFRow rowhead = sheet.createRow((short)0);
21: rowhead.createCell((short) 0).setCellValue("First Name");
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.