Hello Bhaskar,
I believe you have set the response object's content type to the following.
It means the response object writes this data to ms-excel format.
Serlvet API can only set the content type to microsoft excel format. There is no API for creating for multiple workbook.
If you have verified the generated xls file, you could have noticed only one worksheet possibly without the grey lines.
Servlet API supports only the content type to microsoft excel, but not the Excel creation API.
If you have table data or results put it into an arraylist , initialize the jxl write class to write it to multiple worksheet.
Till now Oracle Corp, has not found Servlet API to create excel worksheets.
Regards,
Ronald Reagan Jr