• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

stylesheet effect are not showing in jsp page

 
Harshal Gurav
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Here is my jsp page:

Here is an my stylesheet page:


Any suggestion is highly appreciated.
Thanks and Regards
Harshal
[ July 31, 2008: Message edited by: Harshal Gurav ]
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be because you haven't closed the link tag :



and make sure that the 'Styles.css' , files reside in same directory as your current jsp page !
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use a tool such as firebug [use net tab] or fiddler to see if you are getting a 200 or 404 when the css is being retrieved.

Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sagar Rohankar:
and make sure that the 'Styles.css' , files reside in same directory as your current jsp page !

No. That's considered a very bad practice.

Follow Eric's suggestion. The most likely issue is that the file is not being properly addressed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic