I have some jsp files where they communicate with each other through servlets. I take some user requests from page1.jsp and then through servlet I go to page2.jsp file where I post some Mysql database results.
The user is checking or unchecking some checkboxes, and waits to see other results from the Mysql Database in the same page2.jsp, without going to the servlet.
I don't know how to refresh the page and show other results. I use jquery to catch the checkbox option value. And keep it in a hidden input. I want that variable value in java to search my database with other query.
When I use <% String str = request.getParameter("namevalue")%>
my string result is null, because I am not sending it to the servlet.
What are my options in this case?:(