Search Interview Questions | ![]() ![]() Click here and help us by providing the answer. ![]() Click Correct / Improve and please let us know. |
|
| ||||
Java EE - Interview Questions and Answers for 'Servelet' - 4 question(s) found - Order By Rating | ||||
| ||||
Ans. Yes by making entries in web.xml | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. Translation of JSP PageCompilation of JSP PageClassloading (class file is loaded by the classloader)Instantiation (Object of the Generated Servlet is created).Initialization ( jspInit() method is invoked by the container).Reqeust processing ( _jspService() method is invoked by the container).Destroy ( jspDestroy() method is invoked by the container). | ||||
![]() | ||||
![]() ![]() ![]() ![]() | ||||
| ||||
Ans. The jsp directives are messages that tells the web container how to translate a JSP page into the corresponding servlet. There are three types of directives - page directive include directive taglib directive | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. Better Performance as Servlets doesn't require a separate process for a single request. Servlets are platform independent as they are written in Java. | ||||
![]() | ||||
![]() ![]() ![]() | ||||