I would like to realize the following:
@RequestMapping( "/archive/{date}.html" ) // e.g. /archive/2012/08.html
public String listByDate( @PathVariable( "date" ) @DateTimeFormat( iso = ISO.DATE, pattern = "yyyy/MM" ) Calendar cal, ... )
But I’m just getting a 404.
I guess this is because I’m trying to use a slash in between the {date} placeholder?
What do I need to do here?
Why not split
{date}into{year}/{month}?