Multiple choice technology web technology

How many action objects of each action type are created in a Struts 1 Application?

  1. One per request

  2. One per module

  3. One per session

  4. One per application

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In Struts 1, Action classes are thread-safe and only one instance of each Action type is created per application (singleton pattern). This single instance handles all requests for that action type concurrently. Since Struts Actions must be thread-safe, they should not have instance state specific to a request. Options A, B, and C are incorrect because Struts does not create new Action instances per request, module, or session.