Hello All,
I want to sort a result set by column name...I'm using MVC pattern ....so I have an if clause to decide the sorting order as:
<c:if test="${sort == asc}">
Student
</c:if>
<c:if test="${sort == desc}">
Student
</c:if>
I'm using a method in my action which sorts the given list ...so my question is how can i save the resultant List to be sorted ...if I put in request ...it can be displayed only one time and can i keep that in session....or is there any other better way to do this....
Thanks,
Maithri