RE: ActionForms Thread Safe

2004-02-22 Thread Andrew Hill
snip If this is case then ActionForm are not thread-safe. Because Two request from different client can simultaneous come in and use the same ActionForm instance? I know this is not the case, but I cannot figure out how is it thread safe? /snip Actually it is the case! - but only in certain

Re: ActionForms Thread Safe

2004-02-21 Thread Hubert Rabago
Different clients use different requests and different sessions. Therefore, different users end up with different AF instances. If you use request scope for your AF, then even different requests from the same client will be using different AF instances. hth, Hubert --- Amish Patel [EMAIL