Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Download CSS to client

 
Shannon Sims
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic