• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Placing excel sheet on jsp with tiles in struts (It's very urgent)

 
NarsingaRao Rao
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to place XLsheet on *jsp* page with tiles in *body* part using struts.

If anyone knows then pls inform to me asap.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you are trying to embed excel into the middle of a page. I don't know if that's possible and if it were, this isn't a Struts or Tiles question.

I do know there are javascript tools to mimic an Excel look and feel but you might not have the time get something so complex set up.
 
Rajan Janakra
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If i'm not wrong you are trying to open up a excel in the jsp has a response.
Set the response type in jsp to the following
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-disposition","attachment;filename=audit.xls");
Try setting it to non attachment header which will open up directly in the browser.It doesn't matter whether you are using tiles.
-Rajan
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic