This set of interview questions are tricky,however a good developer would love to recall, and practise

  1. Where does the JSP classes are stored ?
  2. How and where do you put your code that handles a form with post method in JSP ? If a form in one JSP page with a method post want to submit the form to another JSP ( JSP that handles the post form data), where do you keep your code in the handler JSP ?
  3. What could be wrong if you try to override the _jspService() method ?
  4. What is the differece between the JSP pages that resides directly under your application root vs the ones that resides in the WEB-INF folder ? or Can we have jsp pages kept in WEB-INF folder, and what purpose does it serve?