I have a page with 2 links calling the same Spring controller. Suppose they are both calling this method :
@RequestMapping(value = {"/messages/list"}, method = RequestMethod.GET)
public String viewMessageLogs(ModelMap model)
{
return "messageLogs";
}
Each link has a different id value. I need this controller method to somehow be aware of the id of the link the user used to reach it. How could I accomplish that?
Thanks!