Describe the functions of Controller?
Why do we use underscore(_) symbol only with jspService() method?
Latest Answer: underscore _ exist not only for _jspService() but also to the other JSP Life Cycle methods which are 1. _jspInit()2. _jspService()3. _jspDestroy()This type of notation is used so as to difference the Life cycle methods of JSP page and Servlet. ...
what are forward & include methods? Why these are used?
Latest Answer: Both forward() and include() are concrete methods of the RequestDispatcher class in the Servlet context. forward() - this method is used to show a different resource in place of the servlet originally requested. This resource may be a jsp, a servlet etc. ...
What is the Difference Between Web Container and Web Server?(Asked in Polaris Interview , held on April 11, Chennai)
Latest Answer: The Webserver: Just Receive the request from the client and forward to Webcontainer, and do the Response vice versa.Web Container: Creates HTTP Request and Response for the Servlet, calls the appropriate servlet service method (doGet or doPost) to service ...
what is difference between servlet container and servlet config?
Latest Answer: servlet container is part of web server which provides run time environment for servlets i.e it manages the entaire life cycle for the servlets like it creates instance,initialization,processing and destroying it. ...
For overriding init()method any rules are there
Latest Answer: There are no necessary conditions to override this particular method. In case you are overridding init(ServletConfig config), then make sure to call super.init(config). ...
Explain the server process how will server identifies that and response to corresponding servlet and how it sends to that response to correct user ?
Latest Answer: After we request for a jsp. There is a servlet called pagecompilor , which first parses the .jsp page to .java page.then compiles that .java page and produces .class page.EX.if we have mypage.jsp firse myPage-jsp.javathen myPage_jsp.classthen the ...
1)What is web.xml?2)what is the filter?3)How to we create a new JSTL class?4)When we are developing the project which collections mostly used?5)Difference between reqeust.getAttribute,and request.getParameter?
Latest Answer: 1)What is web.xml?web.xml is nothing but a deployment descriptor. It describes a web applicants deployment settings.2)what is the filter?It is an Pluggable web componenet device it allow us to implement or add pre processing or post processing logic ...
Latest Answer: Service() method is used to handle requests and it is invoked by the ServletContainer. ...
View page [1] 2 3 4 5 6 7 8 9 10 Next >>

Go Top