Match the “Rest of the URL” using Spring 3 RequestMapping Annotation?

For the above try: @RequestMapping(value="{appname}/{path1}/{path2}/{remainder:. +}") The default behavior of Spring to stop matching on '. ' in urls is not very intuitive.

I don't think period character has any special meaning in the context of the path(as opposed to say '/', ';' or '? ').

This is so close to what I want, but it does not work as I would expect. If I were to request the url someappname/apath/anotherpath/whatever. File I would be able to retrieve the remainder path variable as whatever.

File However, if I were to request someappname/apath/anotherpath/and/an/other/path/whatever. File the pattern you supplied (.+) would not match, when I would have thought I would have got the value and/an/other/path/whatever. File Can you or somebody else reading this suggest which pattern I should use to get the url remainder?

– VLostBoy Sep 15 at 14:24.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions