struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10859] New: - Override getScheme with redirects
Date Tue, 16 Jul 2002 10:39:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10859>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10859

Override getScheme with redirects

           Summary: Override getScheme with redirects
           Product: Struts
           Version: 1.1 Beta 1
          Platform: All
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: Other
         Component: Controller
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: torben.norling@bluefish.se


When using Struts in an application deployed within a 
applicationserver "behind" a webserver that handles https it would be nice to 
override what protocol is prepended (getScheme) to the URL. My problem today is 
that our users use https to the webserver that has a SSL accelerator then the 
webserver uses plain http to communicate with our app.server Weblogic 6.1. In 
this scenario Weblogic thinks that I use http. I run into problem when I want 
to use redirects.

Everytime I use an Action defined with redirect="true" I get a http://blahblah 
URL that isn't working.

I have seen this beeing solved within Tomcat by letting the users override 
scheme but it would be really nice if Struts could handle this aswell. Ok, 
maybe this is the wrong place to solve the problem but it would make life 
easier for me. Now I have one struts-config.xml for each of our environments 
with the full URL's defined whenever I use redirects.

By the way, Great job everybody!

Thanks // Torben Norling - Bluefish AB

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message