Hi,
I often use a frontal apache with jk connector and RewriteRules to
make such thing.
Cheers,
Philippe
At 27.08.2007 18:30, you wrote:
>Content-class: urn:content-classes:message
>Content-Type: multipart/alternative;
>boundary="----_=_NextPart_001_01C7E8C7.9DA8C1E3"; x-avg-checked=avg-ok-717F2302
>
>Hi guys,
>
>I've got a problem with a sendRedirect.
>
>I have a JSP page and I want to do a sendRedirect on a HTTPS url.
>
>This is my code:
>
>String str = rootElement.getAttribute("user").getValue() + ":" + authPwd;
>String encodedStr = new String(Base64.encodeBase64(str.getBytes()));
>response.setHeader("Authorization", "Basic " + encodedStr);
>response.sendRedirect(url);
>
>The browser is redirected correctly to the destination page but the
>request doesn't contain any 'Authorization' header.
>
>Any ideas???
>
>Thanks,
>
>Massimo
>
>
>_______________________________________________
>dev_list mailing list
>[email protected]
>http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list
_______________________________________________
dev_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list