-
Nov 18th, 2011, 05:28 AM
#1
Spring: ModelAndView redirect issue with secured URL (https)
Hi,
I ve tried redirecting to a specific URL (not a View) using the below two methods
1) return new ModelAndView("redirect:/profile/?action=sitereg&sitekey="+ sitekey +"&user_locale=" + locale + "&redirect=" + redirect);
2) return new ModelAndView(new RedirectView("/profile/?action=sitereg&sitekey="+ sitekey +"&user_locale=" + locale + "&redirect=" + redirect));
Both ways of redirection works fine for Non-Secured requests (http). ie after redirection i get a URL similar to
http://DomainURL/profile/?action=sit..._140&redirect=
But when i use secured request(https), after redirection i get a URL similar to
https://DomainURL/prosfile/?action=sitereg&sitekey=12178075&user_locale=es_ES _140&redirect=
ie the word "profile" changes to "prosfile".
Can any one please tell me if i am missing something here?
Best Regards
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules