doget dopost handler

J

Jeff Kish

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top