Try reading the spec.  You do read, don't you?
-----Original Message-----
From: [Jwas J] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 4:04 AM
To: [EMAIL PROTECTED]
Subject: GenericServlet & HttpServlet


hello

Just want to know one thing about HttpServlet's service method

public void service(ServletRequest req,ServletResponse res)
        This method will be called by the servlet Container and then
it calls the protected method
protected void service(HttpServletRequest req,HttpServletResponse resp)
after filling or creating the HttpServletRequest,HttpServletResponse objects.

How does this convertion take place ?

Also how can i get the http method (GET,POST or HEAD ) from the ServletRequest req ?

Please advice

Regards
Jwas

Reply via email to