Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

displaying default image on page load if actual image is not retrieved

1004526Oct 30 2013 — edited Oct 31 2013

Hello All,

In jsff i have something like below

<af:image source="path/something.jpg" id="id_1" styleClass="displayingImage">

but if the image is not present in the path then a red cross is displayed.

Is there any way where i can display a default image on page load if image is not properly loaded.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2013
Added on Oct 30 2013
6 comments
785 views