validating an image before display using c:import
I have to display an image(available on the server as a resource) in the webpage using jstl. In the code, I have the image url, but before displaying it in the page, I need to validate if the image is available on the server to display.
I tried to use <c:import> but not able to verify if the image exists there. Following is the code I used.
Please let me know where I am going wrong.
Thanks in advance.
|All times are GMT -4. The time now is 12:32 PM.|
Powered by vBulletin®
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.