aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes stylesheet effect are not showing in jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "stylesheet effect are not showing in jsp page" Watch "stylesheet effect are not showing in jsp page" New topic
Author

stylesheet effect are not showing in jsp page

Harshal Gurav
Ranch Hand

Joined: May 29, 2008
Posts: 151
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

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 !


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Jan 10, 2002
Posts: 61426
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: stylesheet effect are not showing in jsp page