RAJ INFOTECH

www.rajinfotech.risejaipur.com

yadavrajc@gmail.com

 

Frequently Asked Questions - Servlets Concepts

·         How do u deal property files in servlet?

·         What methods do u use in Servlet - Applet communication ?

·         What are the types of Servlet ?

·         Difference between HttpServlet and Generic Servlets ?

·         Difference between doGet and doPost ?

·         What are the methods in HttpServlet?

·         What are the types of SessionTracking?

·         What is Cookie ? Why is Cookie used ?

·         If my browser does not support Cookie,and my server sends a cookie instance What will happen ?

·         Why do u use Session Tracking in HttpServlet ?

·         Can u use javaScript in Servlets ?

·         What is the capacity the doGet can send to the server ?

·         What are the type of protocols used in HttpServlet ?

·         What is meant by a servlet ?

·         What are the types of servlets ? Explain

·         What is the different between a Servlet and a CGI?

·         What is the difference between 2 types of Servlets ?

·         What is the type of method for sending request from HTTP server ?

·         What are the exceptions thrown by Servlets ? Why ?

·         What is the life cycle of a servlet ?

·         What is meant by cookies ?

·         What is HTTP Session ?

·         What is the difference between GET and POST methods ?

·         How can you run a Servlet Program ?

·         How to commuincate between an applet and a servlet ?

·         What is a Servlet-to-Servlet communcation ?

·         What is Session Tracking ?

·         What are the security issues in Servlets ?

·         What is HTTP Tunneling?

·         How do you load an image in a Servlet ?

·         What is Servlet Chaining ?

·         What is URL Rewriting ?

·         What is context switching ?

·         How will you pass values from HTML page to the Servlet ?

·         What is Servlet API used for conneting database ?

·         In servlets, we are having a web page that is invoking servlets? Username and password ? which is cheks in the database ? Suppose the second page also If we want to verify the same information whethe it will connect to the database or it will be used previous information?

·         What are virtual functions ?

·         Write down how will you create a binary Tree ?

·         What are the traverses in Binary Tree ?

·         Write a program for recursive Traverse ?

·         What are session variable in Servlets ?

·         What is client server computing ?

·         What is meant by Servelet? What are the parameters of the Service  Method ?

·         What is meant by Session ? Tell me something about HTTPSession Class ?

·         How do you invoke a Servelt? What is the difference in between DoPost and doGet methods ?

·         What is the difference in between the HTTPServlet and Generic Servlet?

·         Expalin their methods ? Tell me their parameter names also Have you used threads in Servelet ?

·         How do you load an Image in a Servlet ?

·         Explain Servlet Life cycle?

·         Why do you go for servlet rather than CGI