2 questions

2002-10-16 Thread Marcus Biel
Hi! 2 Questions: First Question: <% ArrayList werkeList= SimpleQuery.getAemWerkUnique(); pageContext.setAttribute("werkeList", werkeList); %> Datensaetze anzeigen I've got this working code. Now I don't want to import the

Re: Hi Folks, 2 questions about Actions and their instance

2002-04-01 Thread Neil Pitman
> > Struts > > NewsgroupTo: [EMAIL PROTECTED] > >

Re: Hi Folks, 2 questions about Actions and their instance

2002-04-01 Thread theron . kousek
Struts NewsgroupTo: [EMAIL PROTECTED] Subject: Re: Hi Folks, 2 questions about Actions and their

Re: Hi Folks, 2 questions about Actions and their instance

2002-04-01 Thread @Basebeans.com
Subject: Re: Hi Folks, 2 questions about Actions and their instance From: Vic Cekvenich <[EMAIL PROTECTED]> === Imeditely calling is not good enough. You must use a JDBC driver specific call that returns the last "affected rows" ID. This gives you the new PK. Vic [EMAIL

Re: Hi Folks, 2 questions about Actions and their instance

2002-04-01 Thread Jim Crossley
[EMAIL PROTECTED] writes: > > I don't know, but it doesn't matter. You should always assume that > > any specific instance of an Action class could potentially serve multiple > > threads at once. Or else what's the point of putting your app on the > > web? ;-) > > Reason I brought this up is

Re: Hi Folks, 2 questions about Actions and their instance

2002-04-01 Thread theron . kousek
<[EMAIL PROTECTED]> cc: 04/01/02 Subject: Re: Hi Folks, 2 questio

Re: Hi Folks, 2 questions about Actions and their instance

2002-04-01 Thread Marcelo Vanzin
[EMAIL PROTECTED] wrote: > 1. I then assume that "perform()" is synchronized No it's not, and that's why it needs to be thread-safe. You may have two different threads executing the perform() method simultaneously. > 2. What about those cases where 2 different action mappings resort

Re: Hi Folks, 2 questions about Actions and their instance

2002-04-01 Thread Jim Crossley
[EMAIL PROTECTED] writes: [...] > So here's my 2 question(s): > > 1. I then assume that "perform()" is synchronized No. If all data objects are local to the perform method, there's no reason for it to be synchronized. If the data objects referred to in perform are shared, then their access

Hi Folks, 2 questions about Actions and their instance

2002-04-01 Thread theron . kousek
In a book I have it says: "It is also important to note that the Action class must be designed in a thread-safe manner. This is because there's only a single instance of an Action class per action element in the action-mapping configuration file." So here's my 2 question(s): 1. I then assu