*/
HttpConnection connection = getConnection();
if ( connection == null ) {
throw new JellyException(
"No HTTP connection available. "
+ "This tag should have a 'uri' attribute or be nested inside "
+ "a <http:connection> tag"
);
}
HttpMethod method = getMethod();
if ( method == null ) {
throw new JellyException( "No HTTP Method available for this tag to execute" );
}
int result = method.execute(getState(), connection);
if ( var != null ) {
context.setVariable(var, method);