This is fairly straightforward. I need to pass a url to my controller from my front end through an AJAX call, ie “http://www.x.com/some/path”. Spring controllers interpret portions of the path as variables, with “/” delineating, so this obviously doesn’t work: “http://myserver.com/myapp/controller/http://www.x.com/some/path”.
So my question is, how can I get that value to my controller?
Edit: I’m using Dojo 1.8 on my front end.
Try encoding the variable for the url in your JavaScript.
Then you can retrieve the original value by decoding it in Java: