wood burning stoves*
The moose likes IDEs, Version Control and other tools and the fly likes problem in displaying image and css file in Eclipse europa 3.3.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "problem in displaying image and css file in Eclipse europa 3.3.2" Watch "problem in displaying image and css file in Eclipse europa 3.3.2" New topic
Author

problem in displaying image and css file in Eclipse europa 3.3.2

Rahul Noel
Ranch Hand

Joined: Jul 18, 2008
Posts: 51
Hi friends,
Eclipse is unable to display images and css files I wrote <link rel="stylesheet" type="text/css" ref="${pageContext.request.contextPath}/css/abc.css"> or <link rel="stylesheet" type="text/css" href="../css/abc.css"> or I am sure about path of the images and css files I dont know why it unable to display this images.


Thanks in Advance.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
What exactly do you mean by "display"? Where in Eclipse should it be displayed?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Rahul Noel
Ranch Hand

Joined: Jul 18, 2008
Posts: 51
MyGoodness! where do we display images in our application? In Browser? right?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Eclipse can also display images using the QuickImage plugin. There are probably other ways. Unfortunately, my mind reading capabilities are still quite limited, so please bear with me...

So this is a web application (might have guessed that from the mentioning of css)? What browser? The one build into Eclipse? Or an external browser? Do you have the same problem with different kind of browsers?

How did you check the paths? Can you show us the relevant parts of your code?

http://faq.javaranch.com/java/TellTheDetails
Rahul Noel
Ranch Hand

Joined: Jul 18, 2008
Posts: 51
Sorry my friend if I hurt you. If I gave this image tag in jsp page but it not showing any image and nothing wrong with this image path
 
Consider Paul's rocket mass heater.
 
subject: problem in displaying image and css file in Eclipse europa 3.3.2
 
Similar Threads
Struts help
including a css file to a jsp from another folder
problem with server relative paths for images
Resource Restriction using web.xml
Why is my css acting weirdly?