struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcelo Vanzin <>
Subject Re: Hi Folks, 2 questions about Actions and their instance
Date Mon, 01 Apr 2002 17:10:06 GMT 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.

Marcelo Vanzin
Touch Tecnologia
"Life is too short to drink cheap beer"

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message