Struts application to support multiple states

Discussions

Web tier: servlets, JSP, Web frameworks: Struts application to support multiple states

  1. Does struts framework has in built support for applications that has to support multiple states having different business rules? Is there any other plug-ins 0r framework available for this?
  2. Does struts framework has in built support for applications that has to support multiple states having different business rules? Is there any other plug-ins 0r framework available for this?
    What state do you have in mind: domain model state or so called "view state"? Struts does not have any facilities related to domain model, so the answer is "No" for the first one. You need to define all model-related stuff yourself.

    If you want different view states, stored on the server, than just set form bean scope to session and get crazy. You may also would like to take a look at Struts Dialogs library, which allows to create stateful UI components for Struts. It also has classes to facilitate CRUD operations and to build web wizards. Of course, wizards are stateful.
  3. I meant multiple US States