fill query info in queryForm.jsp form
and action index is QueryServlet
and method is post see // a
after submit the query condition in queryForm.jsp
it will direct to QueryServlet.java
QueryServlet.java will execute doPost() see // d
in doPost(), firstly get the data from queryForm.jsp
then use the data to access the data access object see // b
and get the query result
then forward the result to resultForm.jsp to display see// c
and action index is QueryServlet
and method is post see // a
after submit the query condition in queryForm.jsp
it will direct to QueryServlet.java
QueryServlet.java will execute doPost() see // d
in doPost(), firstly get the data from queryForm.jsp
then use the data to access the data access object see // b
and get the query result
then forward the result to resultForm.jsp to display see// c