I have found the solution myself on java.sun.com. Use a new file as a semaphore. Through it have some drawback,but it is platform independence. thank you all
guest:servlet
(#16719@0) Last Updated: 2000-12-1 This post has been archived. It cannot be replied.