Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

ActionForms Threadsafe

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
How are actionForms thread safe if the framework reuses their instances. They way I understand the Struts Frameworks first checks to see if an ActionForm associated with an Action is present, if it is present use the same instance otherwise create a new instance. My question is if two request from two different clients come in at the same time would they not be using the same instance of a particular ActionForm. I know I am missing something, but can't figure out what? Please help!
Thanks
-Amish
[ February 21, 2004: Message edited by: Amish Patel ]
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg94184.html
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg94201.html
You have replies on another forum to which you posted this same question.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic