title: How to create filters in a webpage like that of Flipkart and Amazon in java application
body: <p>I am creating a page dynamically which contains a list of hostel's in a particular area, I want tom implement a sidebar filter like that in Flipkart or amazon to refine my search result. How can this be done in java, can someone point me in the right direction.</p>
  
  <p>My thoughts on this are : make a list of checkboxes with different categories and when a particular checkbox is selected, make a ajax call to the servlet which should fire a query with the desired results and display the result back on the page.</p>