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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to