I have a search component with searchable fields and result table. It is developed in sightly and used WCMUsePojo class that has search logic. On load of the page,all data has to be displayed and on click of search button - data corresponding to search criteria has to be displayed. I added form element to my sightly html page and action="get". So on click of search button, page is refreshed and data corresponding to search criteria is displayed. However,search criteria input parameters are added as query strings to the URL which looks like bad design.(long url having querystring params in it) I also tried to create a servlet to just redirect to same page, but this is also not working. Getting null pointer exception at dispatcher.forward. Could you please suggest an approach to solve this problem.
Thanks in advance