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

Can struts block my css Stylesheet?

 
Javier Angulo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i would appreciate any suggestions, this is the prob:

I was using the tag <s:file and suddenly my webapp lost the css format, all pages have lost it, ive return the struts.xml to the old version, upload only the basic libraries and restart tomcat and still is not working.

I really donĀ“t know what to do instead of cutting my veins.

I edit:

Css file is reacheable, and all code is perfect, seems to be something about struts 2 or tomcat
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check at the browser. Is the link element correct in the rendered HTML?
 
Javier Angulo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes is correct it reaches the .css file
 
Javier Angulo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is so weird because some parts of the css works perfect but all positions are wrong this is the page www.tiestime.com/ttime
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I followed that link and it all looks just fine to me. All of the CSS files were downloaded and (as far as I can see) are working. The only 404 I see is for this URL: http://www.tiestime.com/ttime/resources/imgs/footer-logo.png.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic