Actions are, effectively, singletons.  There is a single instance
created, no matter how many mappings use it.  This means actions have
to be thread-safe, and suggests that the best place to configure
things would be in the mapping itself, or some other way (resource
bundle, propeties file, singleton, factory, ... ), depending on what
you're really trying to do.

On Sun, 23 Jan 2005 22:42:20 +0100, Fredrik Jonson
<[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I've only just started using struts, so I need some input on
> how to approach struts designs...

<snip />

-- 
Eddie Bush

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

Reply via email to