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.ServletResponse: which encapsulates the communication from the servlet back to the client.ServletRequest and ServletResponse are interfaces defined by the javax.servlet package.

Showing Answers 1 - 1 of 1 Answers

ramana

  • Aug 28th, 2006
 

 Hi All,

             When a servlet accepts a call from a client, it receives two objects.

   They are

             1) HttpServletRequest

             2) HttpServletResponse

 ramana 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions