I have this problem, I'm trying to put a String variable in the value attribute of @RequestMapping annotation:
private static final String PREVIEW = "/preview/anything";
...
@RequestMapping(value=PREVIEW, method=RequestMethod.POST)
Could I do this?
Thanks in advance