The first snippet is the
jsp code. I basically want to display both the html content and send across an excel representation of the html content. The second code basically generates an excel and writes that excel to the response. Now how do i accomplish sending across both html and excel. I am presently getting a "getWriter() has already been called" ie
IllegalStateException error. The control comes to the JSP after a forward from a
servlet. The third code snippet is the forwarding.