Hello Struts users,

We are currently evaluating Struts and other web (MVC) frameworks and would like to 
ask you some questions:

- Is there some struts-config XML-generation from some
  modeling tool (Rose for instance) ?

  We would like to design a state or activity diagram in 
  such a tool then generate the navigation XML file.

- Can struts behave like a real state machine ?

  i.e. how to ensure that some Action is performed only if
  another Action (or view but is not ideal) has been    
  performed with some result (success to be simple). We   
  would like this to be Struts-controlled, not developper-  
  controlled (check session variables, etc.).

  We found the built-in Struts token system but this seem
  only to be used to demarcate transactions in a set of 
  views. This allow to demarcate a transaction end (token 
  value change) but not an inconstency within the 
  transaction (i.e. i valide twice the first page of the 
  transaction) as the token value will not change.

- Why does the struts-example perform some scoped-
  variables cleanup at the end of every Action ? 

  As these variables are defined as scoped in the struts-  
  config XML file, they should naturally live during the
  specified scope lifetime. We don't understand that in the
  struts-example (maybe this is not mandatory).

Thank you very much for your informations about Struts.

  Laurent.



Reply via email to