I'm new to servlet. I have a question that when you give a request , how do servlet controller know which function inside it should it use? (i.e. there are two function ,1. get export a report file and 2. display it only)
I know that there need to be a jsp with baseurl link to it with ajax but I have no idea why it knows to choose which function
Since, you're new to Servlet, I would suggest, don't confuse yourself with AJAX
and all other things -- How do you eat an elephant? of course, one bite at a time. So, Read Servlet Lifecycle, try to understand that first; then go bit by bit from there.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments