You, the programmer, create JSP using your editor of choice. Anything from vi to Forte will work. You place JSP in a special directory where the Web server can find it. The user types in the name of the JSP just like he would type the name of a servlet.
When the request arrives at the Web server, the server translates the JSP page into a servlet and runs that servlet. From that point forward until the server is shut down, the server will submit subsequent requests directly to the servlet and bypass the JSP.
If the JSP has been modified, or if the server unloaded it because of lack of use, the translation step is repeated. Concurrent access to the JSP-generated servlet is handled by threading the requests just as it is in ordinary servlets. Figure 22.1 shows this process graphically.
Figure 22.1. The JSP is translated into a servlet prior to being run by the Web server.
The end result of this process is HTML being displayed on a browser.