Name the internal objects of JSP?
Latest Answer: request response session application config page pageContext out exception ...
What is the different between session and cookies? Where is the session information stored? In RAM of the Client or Disk of the Client or it is stored on the server?
Latest Answer: well, the purpose of session and cookie is the same --- to maintain the state [in a typical web application, based on http protocol]Session -- Its stored at server side [containers memory, RAM] and usually the amount of data stored is more ...
Describe the functions of Controller?
Latest Answer: Controller as the name specifies is a part of the application server that controlles the whole application.In MVC(if you are aware of model,view,controller) the maintasks of the controller are:1> Take the user inputs from the request and understand what ...
Why do we use underscore(_) symbol only with jspService() method?
Latest Answer: Any methods are not be overriden by end users are typically written starting with '-'. _jspService method is not also be overriden by end users.Container invoke this method for each request, passing the request and response object. ...
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). ...
Latest Answer: Custom Servlet is user defined servlet which extends HttpServlet class. ...
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 ...
View page [1] 2 3 4 5 6 7 8 9 10 Next >>

Go Top