So if I use:

<result name="cambiarPassword" type="redirect">https://${
host}/cambioPassword!input.action</result>

It will work?

Don't I have to set the servlet context and namespace?

Regards,

Néstor Boscán


On Wed, Oct 2, 2013 at 1:08 AM, Lukasz Lenart <lukaszlen...@apache.org>wrote:

> 2013/10/1 Paul Benedict <pbened...@apache.org>:
> > 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?
>
> No but we can...
>
> Anyway, there is another option:
>
> <result name="cambiarPassword"
> type="redirect">${schema}://${host}/cambioPassword!input.action</result>
>
>
> 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
>
>

Reply via email to