I could not bridge the connection between Servlets and JSPs. In a servlet, the service() is invoked which in turn calls the doPost() or doGet(), which ever method we decide to override. But what happens in JSP? I know that a _jspService() runs, but when?
Correct me if am wrong..
Ron Fields wrote:I could not bridge the connection between Servlets and JSPs.
Not sure why you feel you need to. The fact that JSPs are transformed into servlets is almost an irrelevant implementation detail. They both have different life cycles, and even different class loaders. The servlet lifecycle isn't relevant to JSPs at the page author level.
But what happens in JSP? I know that a _jspService() runs, but when?
Again, that's rather a moot detail unless you are planning on writing a JSP and servlet container yourself.
Perhaps this article might help on the conceptual level. If you want nitty gritty details on what's going on a lower level than is needed to know for just using JSP, the JSP Specification goes into nauseating detail.