Question: what is the difference between servlet life cycle and jsp life cycle?
Answer: In servlet life cycle, the servlet object is created first. The init() method is invoked by the servlet container and the servlet is initialized by its arguments. Servlet's service() method is invoked next. ... jsp is translated into servlet and the functionality is same as that of the servlet.