GeekLondon.com Help icon Syndication Feed icon 

Article Popularity Indicator

Forward Tag for External Sites

This custom tag is a quick little hack to allow you to include content from other sites into a JavaServer Page (JSP).

To use, just drop the JAR file into the WEB-INF/lib directory, declare the tag library, and use.

Here's the declaration:

<%@taglib prefix="gl" uri="http://geeklondon.com/tags"%>

Here's the usage:

<gl:forward path="http://geeklondon.com/"/>

[Update: 27th October 2007] Wow, getting stuff uploaded to the iBiblio repository looks like a whole pile of hassle. I've published my own instead; we're at version 0.1.3 of the forwarding tag now.

You can grab it from my repository here: http://geeklondon.com/repository/com/geeklondon/tags/geeklondon-tags/, and the JavaDoc documentation is available from here: http://geeklondon.com/javadoc/.

Posted at Aug 25, 2007 12:07:04 AM, and last updated Oct 27, 2007 5:47:25 PM