Hi there,

I keep telling people that 1.3 allows out of the box to execute ANY ARBITRARY CLASS via command=, catalog= and chain-config, as long as it implements the command interface. If those classes have to be tread-safe, like old actions had to be, that is not entirely true.

Any idea how to configure non-thread-safe commands (i.e. that have instance variables outside methods) in Struts 1.3, even if they are not perfect commands (Commons-chain says that catalog.getCommand will reuse instances).

How about overriding ExecuteCommand to create new instances if some action-mapping parameter is present, and how to (a question to commons-chain).

That should also be made VERY evident in the Docs.

We are just deploying a 400 screens application we wrote on Struts 1.3, and it works great! of course our commands are all thread-safe.

Kind regards,

Wolfgang Gehner



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to