|
Question |
Rating |
View Answer |
|
What is the difference in using request.getRequestDispatcher() and context.getRequestDispatcher()? |
|
View Answer |
|
How to pass information from JSP to included JSP? |
|
View Answer |
|
How is JSP include directive different from JSP include action. ? |
|
View Answer |
|
Can we override the jspInit(), _jspService() and jspDestroy() methods? |
|
View Answer |
|
Why is _jspService() method starting with an '_' while other life cycle methods do not? |
|
View Answer |
|
What happens when a page is statically included in another JSP page? |
|
View Answer |
|
A JSP page, include.jsp, has a instance variable "int a", now this page is statically included in another JSP page, index.jsp, which has a instance variable "int a" declared. What happens when the index.jsp page is requested by the client? |
|
View Answer |
|
Can you override jspInit() method? If yes, In which cases? |
|
View Answer |
|
What is the difference between directive include and jsp include? |
|
View Answer |
|
What is the difference between RequestDispatcher and sendRedirect? |
|
View Answer |
|
How does JSP handle runtime exceptions? |
|
View Answer |
|
How can my application get to know when a HttpSession is removed? |
|
View Answer |
|
What Class.forName will do while loading drivers? |
|
View Answer |
|
How to Retrieve Warnings? |
|
View Answer |
|
How many JSP scripting elements are there and what are they? |
|
View Answer |
|
In the Servlet 2.4 specification SingleThreadModel has been deprecated, why? |
|
View Answer |
|
Is JSP technology extensible? |
|
View Answer |
|
Can we use the constructor, instead of init(), to initialize servlet? |
|
View Answer |
|
How can a servlet refresh automatically if some new data has entered the database? |
|
View Answer |
|
The code in a finally clause will never fail to execute, right? |
|
View Answer |