I configured the servlet for responses with some delay, without using sleep (), GET or POST. Can I?
Use Object.wait () :
synchronize (this) {this.wait (1000); } There are only two ways to wait in java. Everything else is finally sleep () or waiting () .
Comments
Post a Comment