Hmm. Well, there's a couple issues to consider here.

1) When you're behind a load balancer, the machine name (domain) you're
running on may not be the domain that's fronted to the public. For example,
the user might be accessing www.company.org but you're on
host123.company.org. When you're changing protocols, you have to include
the FQN. Does your app know the public domain?

2) Is there a Struts enhancement hiding in this question? Maybe we should
include a "protocol" and "hostname" as redirect parameters? Lukasz,
thoughts?

Paul


On Tue, Oct 1, 2013 at 9:48 AM, Néstor Boscán <nestor.bos...@tcs.com.ve>wrote:

> This one:
>
> <result name="cambiarPassword"
> type="redirect">cambioPassword!input.action</result>
>
> Regards
>
>
> On Tuesday, October 1, 2013, Lukasz Lenart <lukaszlen...@apache.org>
> wrote:
> > 2013/9/30 Néstor Boscán <nestor.bos...@tcs.com.ve>:
> >> I have an application that runs on weblogic 10.3.6 and struts 2.3.8. The
> >> weblogic is behind a loadbalancer that does https to http translation.
> When
> >> the application uses a redirect it will use HTTP instead of the original
> >> HTTPS protocol. Is there a way to force redirect to use HTTPS?
> >
> > What kind of redirect? to action?
> >
> >
> > Regards
> > --
> > Łukasz
> > + 48 606 323 122 http://www.lenart.org.pl/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
>



-- 
Cheers,
Paul

Reply via email to