AnamariaClaudia / struts2-ssl-plugin

Automatically exported from code.google.com/p/struts2-ssl-plugin
0 stars 0 forks source link

struts 2 ssl url re-direction problem #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
configure your application server to run https in port 443, i think this would 
resolve your issue.

Original comment by nuw...@gmail.com on 20 Dec 2011 at 11:58