Return-Path: Delivered-To: apmail-jakarta-turbine-user-archive@jakarta.apache.org Received: (qmail 28506 invoked by uid 500); 3 Oct 2001 15:57:20 -0000 Mailing-List: contact turbine-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: turbine-user@jakarta.apache.org Delivered-To: mailing list turbine-user@jakarta.apache.org Received: (qmail 28488 invoked from network); 3 Oct 2001 15:57:20 -0000 Sender: dlr@despot.finemaltcoding.com To: turbine-user@jakarta.apache.org Subject: Re: Pasing Objects within Turbine. References: <001b01c14c1c$2d8e2490$7701a8c0@rullez> <3BBB2D41.DE45F502@collab.net> Content-Type: text/plain; charset=US-ASCII From: Daniel Rall Date: Wed, 03 Oct 2001 11:57:26 -0400 In-Reply-To: <3BBB2D41.DE45F502@collab.net> (John McNally's message of "Wed, 03 Oct 2001 08:22:41 -0700") Message-ID: Lines: 19 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N John McNally writes: > Roel Derksen wrote: > > >> Hi, >> >> I'm new with Turbine and I've got the following question: >> Is there a way for a Action to use the Objects of a previous Action? >> >> What I mean is this: >> public class myAction extends SecureAction >> { >> String sMyString; > > IMPORTANT: This is a big no-no. Actions should not have attributes. > Modules must be threadsafe, just as a servlet should be. So Actions/Modules can have read only attributes, or attributes can be synchronized if you don't mind the (possibly heavy) performance hit. --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-user-help@jakarta.apache.org