Cyril Lavy

Greenhorn
+ Follow
since Nov 18, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Cyril Lavy

Hello, having the same problem I decided to rewrite the file before parsing it. I use code below to be sure of the utf8 content :


the file is not modified when the parser begins, it leads to the same old java.net.UnknownHostException: because of the dtd. Have I done something wrong? thanks in advance.
OK! thanks...
20 years ago
...without having to scan all the subdirs and compare every file? In fact it is more some kind of process that gets the system's actions when file deleted, saved, etc...
20 years ago
Hello,
Is there a way to watch constantly the changes of a directory including sub-folder and then perform an action if a file has been added, deleted, modified...?
Thanks in advance!
20 years ago
Thanks for the interest.
The problem is:
I display a list of links to my servlet, and each one generates a request that makes a document to be scanned, indexed, and this index being compared to a (sometimes huge) index object loaded in memory.
Thinking of it, the problems to disable multiple clicks and testing client existence are not so important because I can avoid them by aborting past requests before every new one (a client can abort a request by clicking on another link) or by sending a query to servlet if window is closed.
I'm beginning to make my thread separate... so I have to make another Runnable object to control it? how does this object work?
Thx.
20 years ago
Hello,
I'm running a servlet which does some internal operations using much resources when a request is send. I have two problems: first, when someone clicks several times it sends several requests which can make the system busy for a long time, and second, if the session is closed (browser closed) or the operation is aborted on the client side, the servlet will continue to perform actions and sometimes block other users. So how can I :
- block several clicks from the same client.
- test client's existence.
- How can I declare the classes used in the operations so they can be heavily interrupted by the servlet if client's session is closed... Eternal Thanks to persons who can offer some help!
20 years ago
Hello,
I'm running a servlet which does some internal operations using much resources when a request is send. I have two problems: first, when someone clicks several times it sends several requests which can make the system busy for a long time, and second, if the session is closed (browser closed) or the operation is aborted on the client side, the servlet will continue to perform actions and sometimes block other users. So how can I :
- block several clicks from the same client.
- test client's existence.
- How can I declare the classes used in the operations so they can be heavily interrupted by the servlet if client's session is closed... Eternal Thanks to persons who can offer some help!
20 years ago