struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: S2: Using HTTPS, when I redirect, I get HTTP
Date Wed, 02 Oct 2013 11:48:00 GMT
2013/10/2 Néstor Boscán <nestor.boscan@tcs.com.ve>:
> 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?

It won't work OOTB - you must add additional getters to your action -
it was just an idea how you can solve that. I give you few ways which
depend on scale of your problem. If it is just one redirect, above
sample is simpler that writing new Result from scratch.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message