Bob Schellink wrote:
You mean you only want one request to be processed at a time for all users? In that case you could synchronize on
the ServletContext which is application scoped:

public void onInit() {
   Context context = getContext();
   synchronize(context.getServletContext()) {

   }
}


Just to reiterate, the above statement will effectively block the entire application from other users while the document validation process in progress. You probably don't want that unless that the server is only used by a single user...

bob

Reply via email to