January 28, 2008

JSP Interview Questions-1

  1. · How do I prevent the output of my JSP or Servlet pages from being cached by the browser?
  2. · How to pop up a JSP page?refreshing every two seconds.
  3. · How to Upload a textfile from JSP to Servlet
  4. · How do you restrict page errors display in the JSP page?
  5. · What JSP lifecycle methods can I override?
  6. · How do I perform browser redirection from a JSP page?
  7. · How does JSP handle run-time exceptions?
  8. · How do I use comments within a JSP page?
  9. · Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?
  10. · How can I implement a thread-safe JSP page?
  11. · How can I declare methods within my JSP page?
  12. · Can I stop JSP execution while in the midst of processing a request?
  13. · Can a JSP page process HTML FORM data?
  14. · Is there a way to reference the “this” variable within a JSP page?
  15. · Can a single JSP page be considered as a JEE application?
  16. · Can we implements interface or extends class in JSP?
  17. · How to compile the JSP pages manually in all applications and web servers ?
  18. · How to delete cookies in JSP?
  19. · In Internet explorer if we give a JSP , How the server will know it has to execute?
  20. · How can i restrict the user from Clicking of Back button in any browser
  21. · When many Users are browsing the same application at the same time and they click the “Submit” button will many objects be created for each and every User?

No comments:

Post a Comment