Quoting Bill Barker <[EMAIL PROTECTED]>:
> AFAIK, using absolute URLs is the only supported way to go. However, it
> would be easy enough to write a Filter that does the redirect for you:
>
> public class MyFilter implements Filter {
> public void init(FilterConfig conf) {}
> public void destroy() {}
> public void doFilter(ServletRequest req, ServletResponse res, FilterChain
> chain)
> throws ServletException,IOException {
> if( req.isSecure() && res instanceof HttpServletResponse ) {
Thanks. Actually, I already wrote a similar filter to solve the problem. Is
there any particular reason for which you are doing an additional check (res
instanceof HttpServletResponse) in your code?
Lukasz Szelag
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>