JSP Interview Question

JSP Interview Question

What are the lifecycle phases of a JSP?

View Answers

October 26, 2010 at 1:06 PM

JSP page looks like a HTML page but is a servlet. When presented with JSP page the JSP engine does the following 7 phases.

  1. Page translation: A java servlet file is generated from the JSP source file
  2. Page compilation: The generated java servlet file is compiled into a java servlet class.
  3. Page loading : This class file is loaded.
  4. Create an instance :- Instance of servlet is created
  5. jspInit() method is called
  6. _jspService is called to handle service calls
  7. _jspDestroy is called to destroy it when the servlet is not required.









Related Tutorials/Questions & Answers:
Interview question - JSP-Interview Questions
Interview question   Hi Friend, Can we inherit interface in JSP. Thank u in advance
JSP Interview Question
JSP Interview Question  What is JSP? Describe its concept.   Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic web pages and applications. A JSP is translated
Advertisements
JSP Interview Question
JSP Interview Question  What are the lifecycle phases of a JSP?   JSP page looks like a HTML page but is a servlet. When presented with JSP page the JSP engine does the following 7 phases. Page translation: A java
jsp interview Question - JSP-Interview Questions
jsp interview Question  What are taglibraries in jsp  Hi Friend, Please visit the following link: http://www.roseindia.net/jsp/Tag_Library.shtml Hope that it will be helpful for you. Thanks
question - JSP-Interview Questions
Certifications  JavaServer Pages (JSP) is a Java technology that allows... directives, a portion of JSP directives control how the JSP compiler generates... description of answer at http://www.roseindia.net/jsp
struts interview Question - Struts
struts interview question and answer java  struts interview question and answer java
Interview question.
Interview question.  Program to read the integers from the standard input (until it gets a negative number) and puts them in to an array.after that it calls process Array on the array,and then prints the content of the array
Interview question
Interview question  what is mean by Dynamic class loading
struts interview question in ibm
struts interview question in ibm  what is the use of "format" attribute
interview question
interview question  write a method that takes and return an object of your own type?   Hi Friend, Try the following code:ADS_TO_REPLACE_1 class TakeAndReturnObject{ public static String getLargestWord(String st
java interview question and answer - Java Interview Questions
java interview question and answer   sir, i want one mark java interview question and answers
interview question - Java Interview Questions
interview question  hello i want technical interview question in current year   Hi Friend, Please visit the following links: http://www.roseindia.net/interviewquestions/ http://www.roseindia.net
interview question - Servlet Interview Questions
according to your experience.And for collection of Java Servlet Interview Question you...interview question  What is Servlet? Need interview questions on Java... and HTTP Servlet.While going through an interview you could be asked for number
Interview question link - Java Beginners
Interview question link  Hi, I want JAVA+J2EE interview question and answer please suggesion me link
Core Java Interview Question, Interview Question
Core Java Interview Question   ....   Core Java Interview Question Page 1 How could Java... to a file?      Core Java Interview Question Page 2
Java Interview Question
Java Interview Question  Java program Interview Question :i have a file which contains characters and integers in mixed format. for example :--> abd12 g156bcd etc Now how would i rearrange the file sothat the characters
Interview question - Development process
Interview question   Hi Friends, Can we create scriptless jsp, if so explain me how. can we access database by using javascript only
Interview Question - Java Interview Questions
Interview Question  I need Interview Questions on Java,J2EE Pls help me
Interview question at Software AG
Interview question at Software AG  write a program to print a string which take input from 0 to 9 like "0122233455" and give o/p as 0,1,2,3,4,5** in java .... Any one plz help me to solve this prog
one interview question - Java Interview Questions
one interview question   Hello, In one of my interview the interviewer ask one question "what are the problems you faced during project... for this question. Thanks
Interview question - Java Interview Questions
Interview question   Hi Friends, Give me details abt synchronization in interview point of view. I mean ow to explain short and neat. Thanks
General Interview Question - IDE Questions
General Interview Question  Please provide soln for this question(wt are all the concepts we hav to add for this question).Explain Architecture of ur project in brief
jsp question..
jsp question..  what should do in deployment descriptor after adding jstl jar files.. I am the the following message in console screen; The absolute cannot be resolved in either web.xml or the jar files deployed
jsp question
jsp question   sir plz tell me how can I create a page which is similar to feedback form in which if one option is empty then other option is inaccessible. for example it consists of name address etc. if name field is not filled
jsp question..
jsp question..  what should do in deployment descriptor after adding jstl jar files.. I am the the following message in console screen; The absolute cannot be resolved in either web.xml or the jar files deployed
jsp question
jsp question   sir plz tell me how can I create a page which is similar to feedback form in which if one option is empty then other option is inaccessible. for example it consists of name address etc. if name field is not filled
Jsp - Java Interview Questions
Need JSP Interview Questions  Hi, I need JSP interview questions.Thanks
jsp question?
jsp question?  see you all know about including file in a jsp... i want to know is... see i have 2 files one.jsp two.jsp in two.jsp i have below given code Long something = 0; in one.jsp code is <%@include file='two.jsp
Interview question - Java Interview Questions
Interview question   Hi Friends, I am new to java, can u tell me what is class ,object and instance with example. For example : class raja , raja r = new raja(); ,here raja is class and r is instance
java interview question
java interview question  when will we use abstraction or interface
java interview question
java interview question  what is the usage of abstract class
Core Java Interview Question, Interview Question
Core Java Interview Question Page 27       Modifiers Question: What are access modifiers... modifier then it is considered as Friendly Question: Can protected or friendly
Core Java Interview Question, Interview Question
Core Java Interview Question Page 14       Question: What is clipping? Answer: Clipping..._TO_REPLACE_1 Question: What is a native method? Answer: A native method is a method
Core Java Interview Question, Interview Question
Core Java Interview Question Page 12       Question: What is a transient variable? Answer... Question: Which containers use a border Layout as their default layout? Answer
Core Java Interview Question, Interview Question
Core Java Interview Question Page 17       Question: What is the difference between... application window that can have a menu bar. ADS_TO_REPLACE_1 Question: Which class
Core Java Interview Question, Interview Question
Core Java Interview Question Page 18       Question: Is &&= a valid Java operator? Answer: No, it is not. ADS_TO_REPLACE_1 Question: Name the eight
Core Java Interview Question, Interview Question
Core Java Interview Question Page 16       Question: Which containers may have a MenuBar? Answer: Frame ADS_TO_REPLACE_1 Question: How are commas used
Core Java Interview Question, Interview Question
Core Java Interview Question Page 15       Question: What invokes a thread's run() method... executed. ADS_TO_REPLACE_1 Question: What is the difference between the Boolean
JSP Interview : JSP Interview Questions -2
JSP Interview : JSP Interview Questions -2       Page of the JSP Interview Questions. Question: What is JSP Custom tags? Answer: JSP Custom tags are user defined
Core Java Interview Question, Interview Question
Core Java Interview Question Page 21       Question: How are the elements of a GridLayout... and are laid out using the squares of a grid. ADS_TO_REPLACE_1 Question: What an I/O
Core Java Interview Question, Interview Question
Core Java Interview Question Page 2       Question: Does it matter... the IOException. Exception's subclasses have to be caught first. ADS_TO_REPLACE_1 Question
Core Java Interview Question, Interview Question
Core Java Interview Question Page 13       Question: What is an Iterator interface? Answer.... ADS_TO_REPLACE_1 Question: What is the difference between the >> and >>
Core Java Interview Question, Interview Question
Core Java Interview Question Page 30       Objects and Classes Question: What's... while regular methods could be called many times. Question: What
Core Java Interview Question, Interview Question
Core Java Interview Question Page 19       Question: What is the difference between static... variables take on unique values with each object instance. ADS_TO_REPLACE_1 Question
Interview Question - Java Interview Questions
Interview Question  1)If we give S.O.P. statement after finally block shall it prints or not? 2)Write a program in java to read a file & write in to another file? 3)Write a program taking two arrays and compare those two
Core Java Interview Question, Interview Question
Core Java Interview Question Page 22       Question: What is a compilation unit? Answer: A compilation unit is a Java source code file. ADS_TO_REPLACE_1 Question: What
Core Java Interview Question, Interview Question
Core Java Interview Question Page 20       Question: Name four Container classes. Answer..._TO_REPLACE_1 Question: What is the difference between a Choice and a List? Answer
Interview question - Date Calendar
Interview question   Hi Friends, can u give me sample code for validating date. Thank u
jsp question
jsp question  how to use security lier in our project using with jsp
Core Java Interview Question, Interview Question
Core Java Interview Question Page 32   ... Question: What is the ultimate ancestor of all java classes Answer: Object class is the ancestor of all the java classes Question: What

Ads