wood burning stoves 2.0*
The moose likes Struts and the fly likes Placing excel sheet on jsp with tiles in struts (It's very urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Placing excel sheet on jsp with tiles in struts (It Watch "Placing excel sheet on jsp with tiles in struts (It New topic
Author

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

NarsingaRao Rao
Greenhorn

Joined: Jul 04, 2005
Posts: 1
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

Joined: Feb 05, 2003
Posts: 4727

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.


A good workman is known by his tools.
Rajan Janakra
Greenhorn

Joined: Jun 21, 2005
Posts: 9
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
 
jQuery in Action, 2nd edition
 
subject: Placing excel sheet on jsp with tiles in struts (It's very urgent)