|Home |Login |Registration |Struts Step by Step Tutorial |Hibernate Step by Step Tutorial |Spring Step by Step Tutorial |JSP Step by Step Tutorial |JDBC Step by Step Tutorial |Web Services Step by Step Tutorial |EJB fundamentals | ORACLE Step by Step Tutorial | SCJP 5.0 and SCJP 6.0 Study Guide | SCWCD 5.0 Study Guide | SCJP Tips
Java mock test | SCJP mock test | SCJP DUMP | SCBCD mock test | SCWCD mock test | JSP mock test | ORACLE mock test | OCP mock test | Hibernate mock test | Servlet mock test | Struts mock test | EJB mock test | C mock test | C++ mock test | Aptitude mock test | PMP mock test Exam |Java online test exam | JSP online test exam | ORACLE online test exam | Hibernate online test exam | Servlet online test exam | Struts online test exam | EJB online test exam | C online test exam | C++ online test exam | Aptitude online test exam

TechFAQ360 introduces Corporate Trainings for Java, J2EE, Hibernate, Spring , Struts , Webservices and EJB


Download java,jsp,servlet,hibernate,spring,jdbc,jms,struts,EJB,oracle,c,c++,informatica interview questions and answers in pdf format


Download 1600 PMP Questions Free


Download 800 SCJP Questions Free


Download 600 SCWCD Questions Free

Ads

Free openERP, openBarvo, openTaps , OfBiz and Java Services


Hospital Management ERP and Hotel Management ERP

                                                                                                                                                    
Add/View Reviews , Comments
                          

Tutorials

Best Indepth Java Tutorials SCJP 1.5/1.6 Exam Kit
Freshers/Beginners Interview Questions and Answers
Java Mock test JSP Mock test ORACLE Mock test Hibernate Mock test Servlet Mock test Struts Mock test C Mock test C++ Mock test Aptitude Mock test

(1)  Q.What is the difference between the getRequestDispatcher(String path) method of ServletRequest interface and ServletContext interface?

(2)  Q: What is the difference between HttpServlet and GenericServlet?

(3)  Q. What is the difference between ServletContext and ServletConfig?

(4)  Q: What is the difference between Difference between doGet() and doPost()?

(5)  Q. What is the difference between the getRequestDispatcher(String) and getNamedDispatcher(String) methods in the ServletContext Class?

(6)  What is load-on-startup in servlet ?

(7)  Q.What are the common mechanisms used for session tracking?

(8)  Q.Explain the directory structure of a web application

(9)  Q.Explain the life cycle methods of a Servlet.

(10)  Q.Why do servlets have an init method? Can't we make use of the servlet constructor for initialization?

(11)  Q.Why can't a container call constructor having parameters?

(12)  Q.What happens if i call destroy() from init()?

(13)  Q.How can I use servlets with protocols other than HTTP, e.g. FTP?

(14)  Q.How do I implement security for my web application ?

(15)  Q.What's the difference between response.sendRedirect() and requestDispatcher.forward() ?

(16)  Q.How do I upload a file in a servlet app?

(17)  Why IllegalStateException in jsp/servet?

(18)  Q.What is servlet container?

(19)  Q.When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

(20)  Q.Given the request path below, which are context path, servlet path and path info? /bookstore/education/index.html

(21)  What is new in ServletRequest interface ?

(22)  Q.Request parameter How to find whether a parameter exists in the request object?

(23)  Q.Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

(24)  Q.Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

(25)  Q.When we don't write any constructor for the servlet, how does container create an instance of servlet?

(26)  Q.Why don't we write a constructor in a servlet?

(27)  Q.Explain the life cycle of Servlet?

(28)  Q.Can we use the constructor, instead of init(), to initialize servlet?

(29)  Q.Difference forward() and response.sendRedirect() .

(30)  Q.What is the difference in using request.getRequestDispatcher() and context.getRequestDispatcher()?

(31)  Q.What is the difference between ServletContext and PageContext?

(32)  What's the difference between init() & init(ServletConfig) in genericServlet ?

(33)  Q.How to upload an File/image from servlet/jsp into server from clients machine?

(34)  Q.What is the difference between init() and init(ServletConfig) ?

(35)  Q. Can we override service method in HttpServlet ?

(36)  Q.What is the difference between the getRequestDispatcher(String path) method of ServletRequest interface and ServletContext interface?

(37)  Q: What is the difference between HttpServlet and GenericServlet?

(38)  Q. What is the difference between ServletContext and ServletConfig?

(39)  Q: What is the difference between Difference between doGet() and doPost()?

(40)  Q. What is the difference between the getRequestDispatcher(String) and getNamedDispatcher(String) methods in the ServletContext Class?

(41)  What is load-on-startup in servlet ?

(42)  Q.What are the common mechanisms used for session tracking?

(43)  Q.Explain the directory structure of a web application

(44)  Q.Explain the life cycle methods of a Servlet.

(45)  Q.Why do servlets have an init method? Can't we make use of the servlet constructor for initialization?

(46)  Q.Why can't a container call constructor having parameters?

(47)  Q.What happens if i call destroy() from init()?

(48)  Q.How can I use servlets with protocols other than HTTP, e.g. FTP?

(49)  Q.How do I implement security for my web application ?

(50)  Q.What's the difference between response.sendRedirect() and requestDispatcher.forward() ?

(51)  Q.How do I upload a file in a servlet app?

(52)  Why IllegalStateException in jsp/servet?

(53)  Q.What is servlet container?

(54)  Q.When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

(55)  Q.Given the request path below, which are context path, servlet path and path info? /bookstore/education/index.html

(56)  What is new in ServletRequest interface ?

(57)  Q.Request parameter How to find whether a parameter exists in the request object?

(58)  Q.Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

(59)  Q.Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

(60)  Q.When we don't write any constructor for the servlet, how does container create an instance of servlet?

(61)  Q.Why don't we write a constructor in a servlet?

(62)  Q.Explain the life cycle of Servlet?

(63)  Q.Can we use the constructor, instead of init(), to initialize servlet?

(64)  Q.Difference forward() and response.sendRedirect() .

(65)  Q.What is the difference in using request.getRequestDispatcher() and context.getRequestDispatcher()?

(66)  Q.What is the difference between ServletContext and PageContext?

(67)  What's the difference between init() & init(ServletConfig) in genericServlet ?

(68)  Q.How to upload an File/image from servlet/jsp into server from clients machine?

(69)  Q.What is the difference between init() and init(ServletConfig) ?

(70)  Q. Can we override service method in HttpServlet ?

(71)  Q.What is the difference between the getRequestDispatcher(String path) method of ServletRequest interface and ServletContext interface?

(72)  Q: What is the difference between HttpServlet and GenericServlet?

(73)  Q. What is the difference between ServletContext and ServletConfig?

(74)  Q: What is the difference between Difference between doGet() and doPost()?

(75)  Q. What is the difference between the getRequestDispatcher(String) and getNamedDispatcher(String) methods in the ServletContext Class?

(76)  What is load-on-startup in servlet ?

(77)  Q.What are the common mechanisms used for session tracking?

(78)  Q.Explain the directory structure of a web application

(79)  Q.Explain the life cycle methods of a Servlet.

(80)  Q.Why do servlets have an init method? Can't we make use of the servlet constructor for initialization?

(81)  Q.Why can't a container call constructor having parameters?

(82)  Q.What happens if i call destroy() from init()?

(83)  Q.How can I use servlets with protocols other than HTTP, e.g. FTP?

(84)  Q.How do I implement security for my web application ?

(85)  Q.What's the difference between response.sendRedirect() and requestDispatcher.forward() ?

(86)  Q.How do I upload a file in a servlet app?

(87)  Why IllegalStateException in jsp/servet?

(88)  Q.What is servlet container?

(89)  Q.When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

(90)  Q.Given the request path below, which are context path, servlet path and path info? /bookstore/education/index.html

(91)  What is new in ServletRequest interface ?

(92)  Q.Request parameter How to find whether a parameter exists in the request object?

(93)  Q.Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

(94)  Q.Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

(95)  Q.When we don't write any constructor for the servlet, how does container create an instance of servlet?

(96)  Q.Why don't we write a constructor in a servlet?

(97)  Q.Explain the life cycle of Servlet?

(98)  Q.Can we use the constructor, instead of init(), to initialize servlet?

(99)  Q.Difference forward() and response.sendRedirect() .

(100)  Q.What is the difference in using request.getRequestDispatcher() and context.getRequestDispatcher()?

(101)  Q.What is the difference between ServletContext and PageContext?

(102)  What's the difference between init() & init(ServletConfig) in genericServlet ?

(103)  Q.How to upload an File/image from servlet/jsp into server from clients machine?

(104)  Q.What is the difference between init() and init(ServletConfig) ?

(105)  Q. Can we override service method in HttpServlet ?

The information you are posting should be related to java and ORACLE technology. Not political. Your Ad Here