aspose file tools*
The moose likes JSP and the fly likes Download CSS to client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Download CSS to client" Watch "Download CSS to client" New topic
Author

Download CSS to client

Shannon Sims
Ranch Hand

Joined: Jul 03, 2003
Posts: 197
Hello Everyone,
I'm fairly new to Java and JSP, so therefore if I'm not clear, please forgive me.
I have a jsp page with an excel icon that will allow my users to click on the icon and be able to download the jsp page as an excel spreadsheet. However, my only problem is that when you save the file, it does not save the corresponding stylesheet that is provided within the <LINK> tag. Therefore all of the formatting is lost. Does anyone have any suggestions or ideas? It would be much appreciated.
Thank you!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61658
    
  67

Hi Shannon,
Welcome to the ranch.
This isn't really a JSP question so you should ask it in the HTML/Javascript (or ask a bartender to move it there).
Additional information that might be needed to help you out include the download mechanism you are employing to get the page into excel.
Generally, linked resources such as images, script files, style sheets and the like will not download as they are not part of the page. With more information on what you are doing and why, an alternative solution that satisfies your requirements might be found.
hth,
bear
[ July 22, 2003: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rob Ross
Bartender

Joined: Jan 07, 2002
Posts: 2205
I'm going to move this to HTML/JavaScript and see if you can get an answer. If not, we can try moving it someplace else


Rob
SCJP 1.4
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Download CSS to client