Saved Bookmarks
This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Explains the differences between context.getRequestDispatcher() and request.getRequestDispatcher()? |
| Answer» | |
| 2. |
How can we implement a JSP page? |
| Answer» | |
| 3. |
How can we include static files in the JSP page? |
| Answer» | |
| 4. |
How many JSP scripting elements are there and what are those? |
| Answer» | |
| 5. |
Tell the new features added in ServletRequest interface i.e. Servlet 2.4 |
| Answer» | |
| 6. |
what is the procedure for initializing a servlet? |
| Answer» | |
| 7. |
Explain servlet. |
| Answer» | |
| 8. |
Explain the servlet context. |
| Answer» | |
| 9. |
Define the servlet mapping. |
| Answer» | |
| 10. |
What is session? |
| Answer» | |
| 11. |
Explain GET and POST. |
| Answer» | |
| 12. |
What are the mechanisms used by a Servlet Container for maintaining session information? |
| Answer» | |
| 13. |
Name the different ways of session tracking. |
| Answer» | |
| 14. |
Explain the custom JSP tags and the beans. |
| Answer» | |
| 15. |
Explain the differences between Jsp and Servlet. |
| Answer» | |
| 16. |
Tell us something about ServletContext interface. |
| Answer» | |
| 17. |
Tell us something about ServletConfig interface. |
| Answer» | |
| 18. |
What are the disadvantages of storing session state in cookies? |
| Answer» | |
| 19. |
What are the types of Session Tracking ? |
| Answer» | |
| 20. |
How can the session in Servlet be destroyed? |
| Answer» | |
| 21. |
What is GenericServlet class? |
| Answer» | |
| 22. |
What is lazy loading? |
| Answer» | |
| 23. |
Why is a constructor needed in a servlet even if we use the init method? |
| Answer» | |
| 24. |
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that? |
| Answer» | |
| 25. |
When should you prefer to use doGet() over doPost()? |
| Answer» | |
| 26. |
Differentiate between GET and POST. |
| Answer» | |
| 27. |
Why is HttpServlet declared abstract? |
| Answer» | |
| 28. |
What are the uses of Servlet? |
| Answer» | |
| 29. |
How would you create deadlock on your servlet? |
| Answer» | |
| 30. |
What is the difference between callling a RequestDispatcher using ServletRequest and ServletContext? |
| Answer» | |
| 31. |
What is Servlet Chaining? |
| Answer» | |
| 32. |
What are the functions of Servlet container? |
| Answer» | |
| 33. |
What is an Applet container? |
| Answer» | |
| 34. |
What are the ways in which duplicate form submission can occur? |
| Answer» | |
| 35. |
State an example of struts configuration file as an action parameter for action servlet. |
| Answer» | |
| 36. |
How is a lookup dispatch action created? |
| Answer» | |
| 37. |
Give an alternative way to protect JSP’s with not much features from direct access. |
| Answer» | |
| 38. |
How can forward action be used to restrict a strut application to MVC? |
| Answer» | |
| 39. |
How is forward action used for integration? |
| Answer» | |
| 40. |
State the procedure for using forward attribute of link tag’s. |
| Answer» | |
| 41. |
How can link tag’s action attribute be used? |
| Answer» | |
| 42. |
What are the steps involved in creating a strut application? |
| Answer» | |
| 43. |
How to work with error tags? |
| Answer» | |
| 44. |
What are the reasons for an error message not being displayed while developing struts application? |
| Answer» | |
| 45. |
What is the procedure of operation of a form tag? |
| Answer» | |
| 46. |
What is a custom tag? |
| Answer» | |
| 47. |
Give an example of validates method used to avoid errors. |
| Answer» | |
| 48. |
List the important attribute and elements of action mapping under struts. |
| Answer» | |
| 49. |
What are the sections into which a strut configuration file can be divided? |
| Answer» | |
| 50. |
What are action errors and error and what are the consequences they impose? |
| Answer» | |