Skip to content

struts 2 ssl url re-direction problem #4

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Configure the struts.xml as per the description provided as below:

<package name="securePayment" extends="ssl-default" >
        <interceptors>
            <interceptor-stack name="secureStack">
                <interceptor-ref name="secure">
                    <param name="useAnnotations">false</param>
                </interceptor-ref>
                <interceptor-ref name="defaultStack"/>
            </interceptor-stack>
        </interceptors>

       <action name="paymentAction" class="paymentAction">
              <interceptor-ref name="secureStack" />
            <result name="success">/WEB-INF/ui/payment.tiles</result>

        </action>

    </package>

2. When a page is submitted make the form submission to the above paymentAction
3. User redirects to https://www.myownsite.com:8443/myProject/payment.action

What is the expected output? What do you see instead?
Expected: https://www.myownsite.com/myProject/payment.action
Actual: https://www.myownsite.com:8443/myProject/payment.action


What version of the product are you using? On what operating system?
struts2 - 2.2.2
struts2ssl plugin - 1.2.1
OS: Linux(Production Environment)


Please provide any additional information below.

What should i do to make the url to be displayed as  
https://www.myownsite.com/myProject/payment.action instead of 
https://www.myownsite.com:8443/myProject/payment.action

Original issue reported on code.google.com by sunny8...@gmail.com on 15 Dec 2011 at 8:23

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions