@RequestMapping(value = "/category-{categoryId}/create", method = RequestMethod.GET)
public String showCreateForm(Model model, @PathVariable("categoryId") Category category) {
String result = super.showCreateForm(model);
if (category != null) {
Product m = (Product) model.asMap().get("m");
m.setCategory(category);
}
return result;
}