Hi Edward,
fortunately no :-)

I've implemented a code a little bit different:

<%
String site = (String) request.getAttribute("target");
if(site.startsWith("http://Target_URL")){
response.setStatus(302);
response.setHeader( "Location", "http://Remote_IDP&TARGET=http://Target_URL" );
response.setHeader( "Connection", "close" );
}
%>

And it work.

Thanks.

Take care
Maurizio