jsp called multiple servlet and remain in the same page
Posted on 2003-11-09
I have 2 components, one is JSP (test.jsp), the other is Servlet.
The JSP act like the User Interface to accept 3 parameters from the user.
The servlet will perform calculation based on a SINGLE parameter sent from the JSP.
After the user input 3 parameters,
1. How to call the Servlet 3 times in the same time (since the serlvet only calcuate one parameter)?
2. Let the user remain in the test.jsp while the servlet perform the calculation ?
3. How jsp can get the calculation result from the servlet ?