Home| Forums | Join Google Group | Join Yahoo Group | Jobs
Get custom programming done at GetAFreelancer.com!
Earn Money
  Trading Forex Online
  Paramount Airways
  Free Data Recovery
 Cargo
 Job Portal
  HSBC Investment
 Management
 Cheap Web Hosting
  Make Trip
  Cheap Air Travel
 Leisure Hotel
  Free Air Travel
  Mutual Fund Informations
   Cheapest Cellular Plan
 Free Sexy Indians
  Call Center Software
  Hot Indian
Programming Help | Homework Help | Counseling
Astrology Advice | Tarot Advice | Parenting
Dating Advice | Love Advice | Divorce Advice
Legal Advice | Debt Advice | Career Advice


  1. In which conditions we have to use the ServletContext?
  2. What methods will be called in which order?((i.e)service(),doget(),dopost())
  3. Servlet is Java class. Then why there is no constructor in Servlet? Can we write the constructor in Servlet
  4. What is a transient variable?
    A transient variable is a variable that may not be serialized.

    Which containers use a border Layout as their default layout?
    The window, Frame and Dialog classes use a border layout as their default layout.

    Why do threads block on I/O?
    Threads block on I/O (that is enters the waiting state) so that other threads may execute while the I/O Operation is performed.

    How are Observer and Observable used?
    Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by objects that observe Observable objects.

    What is synchronization and why is it important?
    With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of using or updating that object's value. This often leads to significant errors.

    Can a lock be acquired on a class?
    Yes, a lock can be acquired on a class. This lock is acquired on the class's Class object.

    What's new with the stop(), suspend() and resume() methods in JDK 1.2?
    The stop(), suspend() and resume() methods have been deprecated in JDK 1.2.
  5. What is the use of ServletConfig and ServletContext..?
  6. How to communicate between two servlets?
  7. What is the difference between servlets and applets?
  8. How will u pass the argument from one servlet to another servlet?
  9. What method used to add a jsp to the servlet?
  10. How HTTP Servlet handles client requests?
  11. How to get one Servlet’s Context Information in another Servlet?
  12. Difference between single thread and multi thread model servlet
  13. What is the super class of All servlets?
  14. How are Servlet Applet communication achieved?
  15. What is servlet context and what it takes actually as parameters?
  16. What is the servlet life cycle?
  17. Types of Servlets?
  18. Why is that we deploy servlets in a webserver.What exactly is a webserver?
  19. Which code line must be set before any of the lines that use the PrintWriter?
  20. What information that the ServletRequest interface allows the servlet access to?
  21. What is the difference between ServletContext and ServletConfig?
  22. When do you have action=get?
  23. What is a Singleton class. How do you write it?
  24. What is difference between sendRedirect() and forward()..? Which one is faster then other and which works on server?
  25. What information that the ServletResponse interface gives the servlet methods for replying to the client?
  26. Can I invoke a JSP error page from a servlet?
  27. Can a init(ServletConfig config) method be overrided in servlets?
  28. How many ServletConfig and servlet context objects are present in one application?
  29. Do we have a constructor in servlet? can we explictly provide a constructor in servlet programme as in java program?
  30. What are the uses of Servlets?
  31. Can I just abort processing a JSP?
  32. What is the servlet?
  33. What are the JSP atrributes?
  34. What is the need of super.init(config) in servlets?
  35. How to know whether we have to use jsp or servlet in our project?
  36. Can we call destroy() method on servlets from service method?
  37. What is the Servlet Interface?
  38. What is the difference between GenericServlet and HttpServlet?
  39. How we can check in particular page the session will be alive or not?
  40. What is the importance of deployment descriptor in servlet?
  41. When we increase the buffer size in our project using page directive attribute ‘buffer’ what changes we observe?
  42. What is the difference between ServetConfig and ServletContext..?
  43. When a servlet accepts a call from a client, it receives two objects. What are they?
  44. What are the differences between GET and POST service methods?
  45. Is servlet is used to create a dynamic webpage or Static webpage or both?
  46. If you want a servlet to take the same action for both GET and POST request, what should you do?
  47. What is the difference between JSP and SERVLETS?
  48. What are the advantages using servlets than using CGI?
  49. What is a better approach for enabling thread-safe servlets and JSPs? SingleThreadModel Interface or synchronization?
  50. We have two applications in that we have two servlets each.How they(servlets) communicate with each other?
  51. How the server will know (i.e) when it can invoke init, service,destroy methods of servlet life cycle?



Earn Money
  Trading Forex Online
  Paramount Airways
  Free Data Recovery
 Cargo
 Job Portal
  HSBC Investment
 Management
 Cheap Web Hosting
  Make Trip
  Cheap Air Travel
 Leisure Hotel
  Free Air Travel
  Mutual Fund Informations
   Cheapest Cellular Plan
 Free Sexy Indians
  Call Center Software
  Hot Indian