English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

The best resource (outside of Sun) for your query is answered by a diagram at:
http://www.javaranch.com/journal/200510/Journal200510.jsp

Scroll to the middle of the page, and under the heading "The Life and Times of a JSP", you will see an excellent explanation in simple terms and a diagram.

2006-07-30 21:57:14 · answer #1 · answered by dinuksw 3 · 0 0

The Life Cycle of a JSP Page
A JSP page services requests as a servlet. Thus, the life cycle and many of the capabilities of JSP pages (in particular the dynamic aspects) are determined by Java Servlet technology

When a request is mapped to a JSP page, it is handled by a special servlet that first checks whether the JSP page's servlet is older than the JSP page. If it is, it translates the JSP page into a servlet class and compiles the class. During development, one of the advantages of JSP pages over servlets is that the build process is performed automatically.

2006-07-31 20:45:35 · answer #2 · answered by ihoston 3 · 0 0

init - to initialize
service - to run the required logic
destroy - to remove the servlet instance from the server
are the jsp life cycle methods.
Out of this service method is executed only once and for each request no instance is created but a thread is created.This may sounds like servlet. To avoid writing of servlets they have founded JSP. the jsp is converted into a java program by the jsp engine .it has the _jspInit(),_jspService() and _jspDestroy() methods. the engine compiles and creates a .class file of the java file from the jsp file. if you are working in tomcat just go to the work folder(its in the same place as that of webapps) and find the java programs of the jsp you have created.

2006-07-30 21:57:56 · answer #3 · answered by kanna 3 · 0 0

In my opinion I think Being and Becoming are essentially the same thing, but it's probably a different view than Harding's. I think existence precedes essence and so that we determine our own Being EACH MOMENT by Becoming (in such a way that the Becoming is nearly synonymous with Being). I don't believe we have an immutable Self, so there is no essence or "Being" that we are born with, and there is no Becoming process that helps us understand our "true" Being. The Becoming just is the Being; the process is our essence; the "I" or the "Self" is defined by our actions and thoughts, and those change from moment to moment. I think my opinion is probably radically different from Harding's, though I didn't watch the whole video (I only watched a few minutes of the first one), but I think he teaches some variant of Hindu/Vedanta philosophy which teaches that there is an immutable Self (the Atman/Brahman). I lean more towards Buddhism and Existentialism. Don't know if that made any sense at all...

2016-03-16 09:05:26 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers