doget dopost handler

Discussion in 'Java' started by Jeff Kish, Feb 13, 2007.

  1. Jeff Kish

    Jeff Kish Guest

    trying to get a handle on understanding servlets.

    say there is a doget and dopost method that call a generic
    doit(request,response) method.

    Suppose the doit(request,response) method just returns if, say a
    session.getattribute(ImBusyFlag) is set, and otherwise uses
    session.setattribute to
    set the flag, do work and then clear it before returning.

    What happens to the request if it isn't processed at all. it doesn't get
    'lost', does it? or is it up to the requestor/browser to realize it was not
    processed and to try again or what?

    thanks

    Jeff Kish
    Jeff Kish, Feb 13, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Raoul Markus

    parameter in HttpServlet.doGet

    Raoul Markus, Aug 21, 2003, in forum: Java
    Replies:
    0
    Views:
    682
    Raoul Markus
    Aug 21, 2003
  2. bigbinc

    Fill doGet, doPost in servlet

    bigbinc, Feb 26, 2004, in forum: Java
    Replies:
    1
    Views:
    5,606
    Oscar kind
    Feb 26, 2004
  3. F. H.
    Replies:
    1
    Views:
    1,547
    Erwin Moller
    Aug 23, 2004
  4. Ryan Gaffuri
    Replies:
    4
    Views:
    3,912
    Sudsy
    Sep 30, 2004
  5. Replies:
    2
    Views:
    407
    Chris ( Val )
    Nov 13, 2007
Loading...

Share This Page