Not sure what you mean. But based on your title of this
thread "return to same page" means you want the incoming URL to be used for the response.
That is what happens if you return void or an object from your controller method.
so
@RequestMapping("/accounts/list")
public void handleSomeIncomingURL() {
}
so the
String "list" will be the returning string that the ViewResolver uses to get the page to display.
Hope that makes sense. Basically you don't have to do anything to get that same functionality.
Mark