tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject Test URL Tag?
Date Tue, 25 May 2004 15:56:29 GMT
Hi Guys,

Does anyone know of a tag where I can test for the existence of a URI and output the body
if it exists? E.g

<tl:uriExists uri="http://www.domain.com/images/a.gif">
	<img src="http://www.domain.com/images/a.gif" />
</tl:uriExists>

This could use the HEAD http method just to ping the resource.

Cheers, AC.


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message