servlets Questions


Performance and scalability: servlets Questions

  1. servlets Questions (2 messages)

    Can i call doPost() method with in doGet() method? if it is possible. what is use of it? BYE srikanth

    Threaded Messages (2)

  2. Re: servlets Questions[ Go to top ]

    The two methods are just convenience methods, so you as a programmer know if the request was a GET or a POST. They're called from the service()-method (which you can override if you don't care about the type of call). Cheers, Fredrik...
  3. Re: servlets Questions[ Go to top ]

    I.e YES, you can call doPost() from doGet() and vice versa.