Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in displaying image and css file in Eclipse europa 3.3.2

 
Rahul Noel
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly do you mean by "display"? Where in Eclipse should it be displayed?
 
Rahul Noel
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MyGoodness! where do we display images in our application? In Browser? right?
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic