Updates to whats new in Spring 3.1 section

This commit is contained in:
Rossen Stoyanchev
2011-06-05 21:45:31 +00:00
parent 32ebf18429
commit b06b5502e0
2 changed files with 71 additions and 1 deletions

View File

@@ -2230,7 +2230,7 @@ public class TimeBasedAccessInterceptor extends HandlerInterceptorAdapter {
<programlisting language="java">@RequestMapping(value = "/files/{path}", method = RequestMethod.POST)
public String upload(@PathVariable String path, ...) {
// ...
return "redirect:files/{path};
return "redirect:files/{path}";
}
@RequestMapping(value = "/files/{path}", method = RequestMethod.GET)