Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 Concurrency bottleneck in ActionBase

closed-fixed
Gautam Jolly
5
2003-07-30
2003-07-30
Gautam Jolly
No

Struts has implemented a singleton pattern for each
Action class. But we set instance variables in the Action
class. This leads to concurrency problems when multiple
submissions are made to an Action class

Discussion

  • Gautam Jolly
    Gautam Jolly
    2003-07-30

    Logged In: YES
    user_id=544801

    Fixed the ActionBase class such that a new instance of the
    Action class is created in the perform() method, which is
    then used for event handling.

     
  • Gautam Jolly
    Gautam Jolly
    2003-07-30

    • assigned_to: ut_paule --> gautamj
    • status: open --> closed-fixed