struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcelo Vanzin <va...@rededc.com.br>
Subject Re: Hi Folks, 2 questions about Actions and their instance
Date Mon, 01 Apr 2002 17:10:06 GMT
theron.kousek@webmd.net wrote:
> 1.   I then assume that "perform()" is synchronized

	No it's not, and that's why it needs to be thread-safe. You may have two 
different threads executing the perform() method simultaneously.


> 2.  What about those cases where 2 different action mappings resort to the
> same action class?

	I may be wrong, but in this case you probably have two instances of your 
Action class, one for each mapping.

-- 
[]'s
Marcelo Vanzin
Touch Tecnologia
vanza@rededc.com.br
"Life is too short to drink cheap beer"


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message