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 01:26 PM.|
Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.