struts will inject parameters into the setters automatically.
so this:
final String sortBy = (String)getRequest().getParameter("sortBy");
final String sortOrder = (String)getRequest().getParameter("sortOrder");
can be removed with this:
public void setSertBy(String sortBy){
...
}
etc...
struts will inject parameters into the setters automatically.
so this:
final String sortBy = (String)getRequest().getParameter("sortBy");
final String sortOrder = (String)getRequest().getParameter("sortOrder");
can be removed with this:
public void setSertBy(String sortBy){
...
}
etc...