PDA

View Full Version : Servlets



  1. What is HTTP Tunneling?
  2. What is Generic Servlet and how it is different from Http Servlet
  3. Can we use javascript in Servlets
  4. Can we use servlets in JavaScript
  5. Can threads be used in Servelet
  6. How to invoke a Servlet
  7. How to run a servlet program
  8. How to debug a servlet
  9. How servlets can be automatically reloaded
  10. How many Cookies can a host support
  11. How variables can be accessed across the sessions
  12. How to handle the debug errors in servlets
  13. How native code can be used in a servlet
  14. How an Image can be loaded in a Servlet
  15. How threads are implemented in servlets
  16. How to pass JavaBeans data to JSP using Servlets
  17. What method is used to create database connection in servlets
  18. How multiple simultaneous requests can be handled by servlets
  19. What is the difference between doGet and doPost
  20. What are the difference between HttpServlet and GenericServlets
  21. Is it possible to send a mail from a servlet? Explain
  22. What is Single Threaded Model in Servlets? Explain this with an example
  23. What are the way a client can be tracked
  24. What happens, if server sends a cookie to a browser that doesn't supports cookies
  25. How values can be passed from HTML page to servlet
  26. What methodology can be followed to store more number of objects in a remote server
  27. How session tracking can be achieved, if your browser doesn't support cookies
  28. How do you create connections for number of users, if you want to improve performance
  29. Is there any need to shutdown the web server, if you want to modify a servlet
  30. How will you open a new page after certain interval of time (5 sec)
  31. What is multiple server
  32. Can a servlet be called by passing its name as a parameter in the URL
  33. Which type of data passing is used in realtime
  34. Explain in detail about applet to servlet communication
  35. Explain life cycle of a Servlet
  36. In howmany ways applet-servlet communication can be done
  37. What happens, when client requests for server object, is not loaded in memory
  38. What are cookies and how will you use them
  39. What is session variable in servlets
  40. What are the classes and interfaces for servlets
  41. Name the servers that can be used to develop and deploy Servlets
  42. How are Sessions are more advantage than using of Cookies or URLReWriting
  43. What are the exceptions thrown by Servlets
  44. What are the methods in HttpServlet
  45. What are the methods in HttpSession and their use
  46. What are the security issues in Servlets
  47. What type of protocols are used in HttpServlet
  48. What are different types of Servlets
  49. What are the types of ServletEngines
  50. What is Server-Side Includes
  51. What are different types of SessionTracking
  52. How a user session can be tracked in servlets
  53. What is servlet exception
  54. What is ServletContext() and what is its use
  55. What is servlet tunnelling
  56. What are the parameters of the service method
  57. What is context switching
  58. What is Client-Server Computing
  59. What is a Proxy Server
  60. What is a Session Id
  61. What is URL Rewriting
  62. What is Servlet Context
  63. What is HTTP Session
  64. What is DSN and System DSN and what is the difference between them
  65. What is the ServletConfig() and what is its use
  66. What is the advantage of Servlets when compared with other server side technologies
  67. What is the default HttpRequest method
  68. What is the capacity that doGet method can send to the server
  69. What is the advantage of using Servlets over CGI programming
  70. What is the difference between ExecuteUpdate and ExecuteQuery
  71. Explain the difference between GET and POST methods
  72. Explain the methods in Generic and HTTP Servlets
  73. What is the protocol used by Server & Client
  74. What is the role of the webserver
  75. What is the use of Servlets
  76. What are setComment and getComment methods in Cookies
  77. What are setSecure() and getSecure() methods in Cookies
  78. Name the webserver that is used to run Servlets
  79. What is use of parseQueryString
  80. What methods do we use in Servlet to Applet communication
  81. When the methods init() and Distroy() will be called
  82. init() method of servlet loaded by
  83. What is the need of session tracking in HttpServlet
  84. Why setMaxAge() and getMaxAge() methods are used in Cookies
  85. How can you maintain servlet chaining
  86. Where the session data will stored
  87. What are the Internal servlets maintained by the web server
  88. What are the CGI Programs
  89. What are the different services provided by the web server
  90. What are binding listeners
  91. Life Cycle of servlets
  92. How can you give alias to servlets
  93. What is servlet and what you get when we use servlets
  94. In servlets, Why do we need both GET and POST method implementations
  95. How do you maintain sessions in servlets
  96. How the HTML data stored in web server
  97. What are the disadvantages of cookies
  98. How to make servlet thread safe
  99. How to maintain security in servlets
  100. HTTP tunneling means what
  101. What is meant by servlet to servlet communication
  102. In which cases Destroy() is invoked
  103. What is SSL
  104. Is the init(ServletConfig sc) throws IOException or not
  105. What is a session object
  106. How to prevent browser from caching the page content
  107. How long do servlets last
  108. How to pass a request object of one servlet as a request object to another servlet
  109. How do you pass the data from one servlet to another servlet
  110. How to deal with multi-valued parameters in a servlet
  111. How to set a cookie that is persisted only for the duration to the clients session
  112. Can we override the ActionServlet
  113. How we can check in particular page the session will be alive or not
  114. What is Servlet life cycle
  115. What advantages do Servlets have over CGI programs
  116. What is difference between Forward() and sendRedirect() method
  117. How ThreadSafe page attribute will be working in Servlet as well as in JSP
  118. Difference between Include, Forward and sendRedirect in Servlet
  119. What is the difference between an applet and a Servlet
  120. Can i call destroy() method in init() method of Servlet
  121. What are the types of process that could help to maintain the Session? Explain
  122. Can i call init() method in destroy() method of Servlet.
  123. What is use of parseQueryString
  124. Which method the Servlet container call to create the instance of the Servlet
  125. What is the difference between Servlet and JSP? Advantage of JSP over Servlet
  126. How do you track a user session in servlets
  127. Can Servlet have instance variables
  128. Can we create more than one ServletContext and ServletConfig in your application
  129. When you compiling the Servlet is it necessary to restart the tomcat server
  130. How the jsp page can be regenerated
  131. How the server will know its the same jsp page
  132. When the jsp page is translated to servlet
  133. How can we create object to a class in a jsp file
  134. What is the difference between Servlet Config and Servlet context
  135. Can you send the mail from a servlet ,if yes tell how
  136. Is it possible to call servlet with parameters in the URL
  137. Why should we go for interservlet communication
  138. Directive Include and Action Include how both are working in JSP its difference
  139. We can?t Override Jsp Service method
  140. If you want to modify the Servlet, will the Webserver need to be Shutdown
  141. I have class files in class folder but I have no java files, but i want to modify
  142. Can u tell me that why there is need of "init()" why can not we initialize
  143. What is the difference if we write code in following manner class extends httpservlet
  144. Where the generated jsp source file are stored