This tag is almost identical to c:import but allows you to specify a timeout.


Name Required Default Type Description
id true   String The result is stored in this variable.
url false   Object/String The url to import.
charEncoding false   Object/String Char encoding of the input data.
timeout false   Object/String Sets after how long (milliseconds) the tag should return with error.


ID-result variable contains: The rendered result as a String-object.


Read the description on c:import – mostly no need for more examples. The only addition we have made is that it is possible to set request the request timeout.

<%@ taglib uri="infoglue-common" prefix="common" %>
<%@ taglib uri="" prefix="c" %>
<common:import id="result" url="">
<common:parameter name="q" value="infoglue"/>

comments powered by Disqus