thanks Amod bt my ques is without making object og servlet how default
constructor is called and one more thing if i have supplied one overloaded
constructor than no default construtor is made.................?
plz budddy do explain me...............!!!!!!!!!!!

On Mon, Nov 15, 2010 at 10:15 AM, Amod <[email protected]> wrote:

> @Ayush
> 1. Container(Tomcat) calls default constructor of your servlet. Even
> if you have overloaded constructors still only default is called.
> 2. The container then calls init() method and passes servlet config
> object into it which contains properties local to a servlet defined in
> the web.xml.
> 3. On arrival of a request the service() method of the servlet is
> called which depending on the request type calls doGet doPost
>
> On Nov 13, 7:19 am, Ayush Mittal <[email protected]> wrote:
> > can anyone explain me how exactly servlet object is created
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<algogeeks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to