Hello.
I am running Tomcat behind a transparent proxy which provides SSL. This
way the tomcat server is serving http and the clients connecting through
the proxy get https service. The problem is when I make a forward with
redirect="true" with struts the http response specifies a complete URL
and since the application environment is configured to use http the
clients are redirected to http even though they originally accessed the
app using http.
An example of a redirect I have:
<forward name="success" path="/Home.do" redirect="true" />
This results on a HTTP 302 redirect with "Location:
http://fqdn_of_server/Home.do".
I have tried with success, to specify the complete URL like this:
<forward name="success" path="https://fqdn_of_server/Home.do"
redirect="true" />
But I have a couple of developing environments and I don't want to hard
code the FQDN of the server in all redirects.
Is it possible to configure a HTTP 302 Redirect with the "Location"
field with a relative path?
Thanks
--
**