Google

Tuesday, December 25, 2007

JSP Placement paper

  1. Top 100 JSP Questions Asked in Actual Interviews
  2. Can you make use of a ServletOutputStream object from within a JSP page?
  3. Can a JSP page instantiate a serialized bean?
  4. 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?
  5. What is the page directive is used to prevent a JSP page from automatically creating a session?
  6. How do you prevent the Creation of a Session in a JSP Page and why?
  7. How do I include static files within a JSP page?
  8. How can I implement a thread-safe JSP page?
  9. How do I mix JSP and SSI #include?
  10. Can a JSP page process HTML FORM data?
  11. What JSP lifecycle methods can I override?
  12. How do I perform browser redirection from a JSP page?
  13. Is there a way to reference the "this" variable within a JSP page?
  14. Can I stop JSP execution while in the midst of processing a request?
  15. How do I use comments within a JSP page?
  16. How do I prevent the output of my JSP or Servlet pages from being cached by the browser?
  17. How does JSP handle run-time exceptions?
  18. How do I use a scriptlet to initialize a newly instantiated bean?
  19. How can I enable session tracking for JSP pages if the browser has disabled cookies?
  20. How can I declare methods within my JSP page?
  21. How can I set a cookie and delete a cookie from within a JSP page?
  22. Is there a way I can set the inactivity lease period on a per-session basis?
  23. How does a servlet communicate with a JSP page?
  24. How do I have the JSP-generated servlet subclass my own custom servlet class, instead of the default?
  25. How do you pass control from one JSP page to another?
  26. How do you restrict page errors display in the JSP page?
  27. How do you call stored procedures from JSP?
  28. How do you connect to the database from JSP?
  29. What is Declaration?
  30. What is difference between scriptlet and expression?
  31. What is jsp:use bean. What are the scope attributes & difference between these attributes?
  32. What are the implicit objects in JSP & differences between them?
  33. What are Custom tags. Why do you need Custom tags. How do you create Custom tag?
  34. What is the difference between include directive & jsp:include action?
  35. What are advantages of JSP?
  36. What is JSP?
  37. Can a single JSP page be considered as a J2EE application?
  38. How to call EJB from JSP.
  39. What is the architecture of JSP?
  40. What is the difference between servlet session and jsp session?
  41. Why should we setContentType() in servlet ?what is the use of that method?
  42. When jsp is compiled into servlet, where the servlet is actually stored(storage location)?
  43. How to generate BAR & PIE Graphs using JSP code…?
  44. What is the diff. b/n declaring members in and declaraing in jspinit() method ?
  45. How to check the value in the text field is not a number
  46. what is the use of extends in jsp…we we want to import a class in current jsp file which i am working how can i do that …if i use extnds for that means how can i do that…pls explain me this
  47. I have a String name & Map m, in my bean class. I have get & set methods on both. To Display the String name, i do The above one works fine. Te below one, displays the entire Map contents I know the KEY, how do i display the VALUE for that KEY
  48. What is the difference between , pagedirective include, action tag include ?
  49. What are the default objects provided by JSP container? Other than page, request, session and context objects.
  50. What is the default scope of jsp tags?
  51. 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?
  52. What is the difference between Difference between doGet() and doPost()?
  53. How do we perform redirect action without using response.sendRedirect(" ");
  54. A] Is the response.sendRedirect ends the existing session? B] If I logged in to a site ( say a.com) & then in same browser window I type the url for another site (say b.com), then does my session gets ended on first site ( a. com ) ?
  55. How to overwrite the init and destroy method in a jsp page.
  56. Where do we use hidden variables and url rewriting? and wat is the difference between them?
  57. What is the difference between session and cookie ?
  58. How to pass java script array to jsp page?
  59. What is the difference betweeen JSP forward and servlet forward methods?
  60. Where can we find the compiled file of jsp in the directory struture.
  61. How we abort jsp page from a servlet
  62. What is difference between getAttribute() and getParameter()?
  63. What is the diff. b/w PAGE,APPLICATION and SESSION implicit objects of JSP?
  64. Wat is the difference between and in jsp..wen translate into servlet..wer it is stored in servlet..can we create global variables in jsp..if yes then how??
  65. How can i restrict the user from Clicking of Back button in any browser
  66. In one class i stored the key and values in the hashmap.so using key value i have to check wheter the value for key is correct or not.so how to retreive the key and values in jsp page
  67. What is the differnce between application server and web server
  68. What is use of implict Objects?why the container is given those one?
  69. How to delete cookies in JSP?
  70. In Oracle table some fields are "null".By default it will show as "null" in JSP page text box.But i dont want that. I want as blank textbox.What i can do for that?
  71. In Internet explorer if we give a jsp , How the server will know it has to execute?
  72. How the jsp changes will be effected in servlet file after converting?
  73. When to use struts technology? What type of applications are developed using struts frame work?
  74. What is the need of taglibraries?
  75. Explain online banking system using java.that means i need architecture of online banking system.please sir i want full details
  76. Text in textarea cant be copy by anyone while it is running in the browser (i.e,the text cant be copy and then paste on the other page) give me suggestion?
  77. How can i clear values in sessions. if i open a jsp page it is containing previous values. then i need to open a new page then only i am getting a fresh page
  78. What data is stored in the variable appname when we give the folowing statement String appname=("manager".equalsIgnoreCAse(request.getContextPath()))?"/manager":"/portal";
  79. Web browser concept using jsp
  80. Why we can't implement interface in JSP? Why we can only extend classes in JSP?
  81. How can we implement logoutpage using jsp ..? and Is there any method to force the browser to show the same page again and again after logout..?
  82. How to Upload a textfile from JSP to Servlet
  83. My html form contains an INPUT "text" element that accepts Date, i want to catch that date and want to query it using JSP? In short, how can i use that HTML form element with Prepared Statements in JSP?
  84. Types of indexing used in oracle applications ? and when and how we decide to implement indexing to database ?
  85. What is the need of implicit objects?
  86. When we design some login form how we manage security for those forms?which technology used for that purpose?
  87. How Do you implement interface in JSP?
  88. How can initialize interface in JSP?
  89. How do u maintain a Session?
  90. What is the differences between JSP LifeCycle and Servlet LifeCycle?
  91. Can I call an interface in a JSP?
  92. What is the Difference between sendRedirect() and Forward?
  93. I want to place two buttons one for save and one for delete.i am using DispatchAction as controller,how can i find which button i am pressing and how to diffrentiate?
  94. What is JSP
  95. What is the difference betweeen a statis and dynamic include?
  96. How can my JSP communicate with java class file
  97. I want to accomplish the following scenario: 1) user submits a jpg/gif file from an html form (using in the form, the user can browse to a file of their choice) 2) upload the jpg/gif file through a combination of Java and JSP's 3) put the jpg/gif into a database on a server and/or into a folder on my local system.
  98. How to pop up a jsp page?refreshing every two seconds.
  99. What is difference between scriptlet and expression
  100. What does < %= obj.getXXX() %> the following expression get evaluated to ?
  101. How can we move from one JSP page to another(mean using what tecnique?)


 

No comments: