From:
http://jakarta.apache.org/struts/userGuide/building_controller.html#acti
on_classes
"Design issues to remember when coding Action classes include the
following:
The controller servlet creates only one instance of your Action class,
and uses it for all requests. Thus, you need to code your Action class
so that it operates correctly in a multi-threaded environment, just as
you must code a servlet's service() method safely. "
Jonathan, you can't expect the list to solve all your problems for you.
Please stop being so pushy; I'm probably not the only one who finds your
attitude offensive.
-----Original Message-----
From: Jonathan
Sent: Thu 4/26/2001 1:47 PM
To: [EMAIL PROTECTED]; Ryan Rich
Cc:
Subject: Re: FormBeans and Thread Safety
Where in the docs does it say that Action objects are pooled?!!
----- Original Message -----
From: "Rajan Gupta" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Ryan Rich" <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 8:58 AM
Subject: Re: FormBeans and Thread Safety
> No. ActionForm are created for each request, While Action need to
> threadsafe, because Action's are pooled
> --- Ryan Rich <[EMAIL PROTECTED]> wrote:
> > When creating a FormBean (a class extending ActionForm), do they
need to
> > be
> > thread-safe?
> >
> > Ryan Rich
> > ----------------
> > Bitek, Inc.
> > 2569 West Woodland Dr.
> > Anaheim, CA 92801
> > (714) 828-8388
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
winmail.dat