This is a fragment of my view, and when the hyperlink is clicked I need to send
two parameters named solicitudId and detailId to a method in the controller
<tr>
<td>${user.loginName}</td>
<td>${user.phone}</td>
<td>${user.address}</td>
<td><a href="/enable?solicitudId=${user.solicitudId}&detailId=${user.detail}">Enable</a></td>
tr>
//Controller
@RequestMapping(value="/enable", method=RequestMethod.GET)
public String enableUser(Model model){
try{
//How should I get the values from the parameters solicitudId and detailId?
}catch(Exception e){
e.printStackTrace();
}
return null;
}
Thanks in advance!
ref:
http://static.springsource.org/spring/docs/3.0.0.M3/spring-framework-reference/html/ch16s11.html