1.What is Spring? Spring is an open source development framework for enterprise Java. The core features of the Spring Framework can be used in developing any Java application, but there …
Interview Questions and Answers
- Interview Questions and AnswersTechnical Interview Questions and Answers
- Interview Questions and AnswersServletsTechnical Interview Questions and Answers
Servlets Interview Questions and Answers For Freshers Part-5
by Sby S41.How to create a session in servlet? You would get HttpSession object by calling the public method getSession() of HttpServletRequest, as below: // Create a session object if it is …
- Interview Questions and AnswersServletsTechnical Interview Questions and Answers
Servlets Interview Questions and Answers For Freshers Part-4
by Sby S31.Can multiple filters be configured? Yes. 32.Can filtering be done in an ordered way? If so then how to achieve it? Yes. The order of filter-mapping elements in web.xml determines …
- Interview Questions and AnswersServletsTechnical Interview Questions and Answers
Servlets Interview Questions and Answers For Freshers Part-3
by Sby S21.How to send an authentication error from a servlet? We can use setStatus(statuscode) method of HttpServletResponse to send an authentication error. // Set error code and reason. response.sendError(407, “Need authentication!!!” …
- Interview Questions and AnswersServletsTechnical Interview Questions and Answers
Servlets Interview Questions and Answers For Freshers Part-2
by Sby S11.For what purpose destroy() method of a servlet is used? This method gives your servlet a chance to close database connections, halt background threads, write cookie lists or hit counts …
- Interview Questions and AnswersServletsTechnical Interview Questions and Answers
Servlets Interview Questions and Answers For Freshers Part-1
by Sby S1.What are Servlets? Java Servlets are programs that run on a Web or Application server and act as a middle layer between a request coming from a Web browser or …
- Interview Questions and AnswersRESTFULTechnical Interview Questions and Answers
RESTFUL Web Services Interview Questions and Answers Part-5
by Sby S41.What HTTP Status Code 200 states? It means, OK, shows success.
- Interview Questions and AnswersRESTFULTechnical Interview Questions and Answers
RESTFUL Web Services Interview Questions and Answers Part-4
by Sby S31.Which header of HTTP response provides control over caching? Cache-Control is the primary header to control caching.
- Interview Questions and AnswersRESTFULTechnical Interview Questions and Answers
RESTFUL Web Services Interview Questions and Answers Part-3
by Sby S21.What are the disadvantages of statelessness in RESTful Webservices? Following is the disadvantage of statelessness in RESTful web services − Web services need to get extra information in each request …
- Interview Questions and AnswersRESTFULTechnical Interview Questions and Answers
RESTFUL Web Services Interview Questions and Answers Part-2
by Sby S11.What are the core components of a HTTP Request? A HTTP Request has five major parts − Verb − Indicate HTTP methods such as GET, POST, DELETE, PUT etc. URI …