Tuesday, November 29, 2011

When a servlet accepts a call from a client, it receives two objects. What are they?

ServeltRequest: which encapsulates the communication from the client to the server.:After developing the Web application:When container receives a call from client, it creates two objects. 1. HTTPRequest and 2 HTTPResponse.:When any action performed in the UI(ex. Button click and type is post/get) webcontainer receives and mapped to the corresponding servlet as per the mapping provided in the web.xml.
Category:Servlet Interview Questions

No comments:

Post a Comment