cancel
Showing results for 
Search instead for 
Did you mean: 

URL not getting changed after the redirect - Java/SpringMVC

Hello,

 

I calling the Authorize.net from a SpringMVC application, using the DPM method, and I'm able to hit Authorize.net and also getthing my relay response url called. The relay_response url in my case is a URL to a method in my Spring Controller, which I'm using to proces the response from Authorize.net. Once processed, I'm "redirecting" to jsp page in my application like this

 

return "redirect:/confirmation.jsp";

 

even thought I get redirected to the confirmation.jsp page, the URL on the browser still remains "https://test.authorize.net/gateway/transact.dll" due to which none of the style sheets are working.

 

What can I do to change the URL and fix this issue. Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

do a javascript redirect on the relay response page, or use absolute path on your relay response page.

View solution in original post

RaynorC1emen7
Expert
1 REPLY 1

do a javascript redirect on the relay response page, or use absolute path on your relay response page.

RaynorC1emen7
Expert