jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dion Almaer" <d...@customware.com>
Subject Encoding URLs in a JSP
Date Fri, 11 May 2001 08:22:21 GMT

Hi -

I thought it could be useful to have a taglib that goes through a body and
automatically encodes
urls in the body.

<response:encodeURLs>
blah
blah
blah
<a href="http://www.foo.com">pasjds</a>
</response:encodeURLs>

http://www.foo.com will automatically have encodeURL() on it.  I have
attached
the java code to kinda do this.  It relies on the apache Regexp libs.
I think this could be a natural addition to the response package.

Dion
_____________________________________________________________
Dion Almaer | dion@customware.com       | voice: 720.304.3244
CustomWare  | http://www.customware.com | fax:   360.242.0671

Mime
View raw message