Hello Björn,

That sounds good. But how do I realise it?
 
Kind regards,

André


-----Original Message-----
From: Eickvonder Bjoern [mailto:[EMAIL PROTECTED] 
Sent: Dienstag, 6. September 2005 13:05
To: user@struts.apache.org
Subject: AW: Struts in loadbalanced enviroment

Hello,

we solved this problem by using a "redirect"-filter over the whole application 
that wraps the HttpServletResponse. This HttpServletResponseWrapper overwrites 
the sendRedirect method such that it replaces http by https. As every 
redirect-request goes through this method you got what you want.

Bjoern Eickvonder

> -----Ursprüngliche Nachricht-----
> Von: Fritsch, Andre [mailto:[EMAIL PROTECTED] 
> Gesendet: Dienstag, 6. September 2005 08:55
> An: user@struts.apache.org
> Betreff: Struts in loadbalanced enviroment
> 
> Hello to everyone in the struts user-group!
>  
> In our productive environment we have a problem concerning 
> struts redirects behind our load balanced servers. Queries to 
> the running struts applications are sent by https protocol 
> towards the load balancer which receives the query, 
> terminates ssl and forwards plain http to a Jboss application 
> server in which the struts application is running. Our 
> problem is that struts receives the query in http and uses 
> this protocol for the redirect but we would need https to 
> recontact the load balancer correctly with ssl. We have a 4 
> step development process from the developer pc to our test 
> system and then via our integration system to the productive 
> environment. The developer pc, our test system and our 
> integration system does not use ssl and the test and 
> integration system is not load balanced. To support high 
> availability our productive system is load balanced to 4 
> servers and uses ssl connection. We know that it is possible 
> to solve it hard coded either by defining absolute links or 
> define a forward in the struts config xml. But our release 
> workflow through the 4 steps is mostly automated so that this 
> would cause extensive administrative input for every 
> application that passes a development phase. Therefore we are 
> looking for a possibility to specify a global parameter so 
> that struts redirects are sent by pre defined protocol. Http: 
> on the developer pc, the test and integration system. Https: 
> on our productive system. Is it possible to specify such a 
> parameter or is there another possibility to override the 
> protocol not restricting the use of relative links?
>  
>  
> Kind Regards,
>  
> André Fritsch
>  
> ____________________________________________________
> SIEMENS             Siemens Business Services GmbH & Co OHG 
>                                                       Human 
> Resources Management
>                                                       
> Heinz-Nixdorf-Ring 1
>                                                       D-33106 
> Paderborn 
>  
> André Fritsch                  Telefon +49 5251 8 2 55 96
> HR - Services                       Fax       +49 5251 8 2 52 09
> SBS D SOL HRM 5                 
> <mailto:[EMAIL PROTECTED]> 
> mailto:[EMAIL PROTECTED]
> PDB                                       
> ____________________________________________________
>  
> 


____________
Virus checked by G DATA AntiVirusKit
Version: AVK 16.274 from 02.09.2005

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to