# <es:uriContent> Tag

The <es:uriContent> tag is used to pull content from a URL. It is best used for grabbing text-heavy pages.

If you combine HTML pages with relative URL’s, you must fully qualify them to the correct host in each URL, or else images (on other resources) may not be retrieved properly by the browser.

## Syntax

<tagName attribute="value" />

## Attributes

id

Required (String) - The variable that holds the downloaded content of the URI.

uri

Required (String) - The fully qualified URI from which to get the content.

## Example

This example retrieves and prints content from a URL.

    <es:uriContent id="uriContent" uri="http://www.bea.com/index.html">
    <%
    out.print(uriContent);
    %>
    </es:uriContent>