开发者

Web Development: Cannot load an image

开发者 https://www.devze.com 2023-03-21 04:51 出处:网络
i\'m starting to using the new version of Eclipse , version 3.7 (Eclipse Indigo). My problem is simple, i\'m developing in JSF 2.0 using GlassFish 3.0 as a server, if i try:

i'm starting to using the new version of Eclipse , version 3.7 (Eclipse Indigo). My problem is simple, i'm developing in JSF 2.0 using GlassFish 3.0 as a server, if i try:

<img src="./images/services/1.jpg" alt="" /> <!-- it work -->
<img src="./images/about_us/1.jpg" alt="" /> <!-- it not work -->

Structure of the p开发者_JAVA百科roject:

Web Development: Cannot load an image

I really don't understand why this is happening folks. Any idea ?

Best regards, Valter Henrique.


Well, did you try to respect the case of the filenames?

<img src="./images/about_us/1.jpg" alt="" /> <!-- does not work -->
<img src="./images/about_us/1.JPG" alt="" /> <!-- should work -->

So as said in comments, this was not the reason and this is in fact not the good answer. It was a refreshing problem.


My problem was that I was working with Netbeans before and now I'm starting to working with Eclipse (Indigo version).

My solution was refresh my project, I didn't know I have to do this, I used netbeans before, where is not necessary do this kind of operation.

0

精彩评论

暂无评论...
验证码 换一张
取 消