Re: General question

2007-02-03 Thread Mauricio Garavaglia
I think in a bad&ugly (tm) solution using cookies, but you are free to give it a try ; ) Put a session scoped flag that says "beenthere" in the Action of your primary form. Null by default this variable will be initialized to something the first time the user open your Action. If the user try t

Re: General question

2007-02-01 Thread Dale Newfield
Maya menon wrote: My question is: if users try to open another window and do simultaneous tasks, how can I avoid same user from working in two or more different windows in a Struts based j2ee application ? If your worry is that someone might submit changes to an object that has changed since

[OT] Re: General question

2007-02-01 Thread Dave Newton
--- Maya menon <[EMAIL PROTECTED]> wrote: > Yes I had the variable initially set in session. > Then when I did Cntrl+N[open new window] from the > existing browser window, I see the same result in > the second window. If you open a new window in IE it will take the parameters from the current wi

RE: General question

2007-02-01 Thread Maya menon
I am talking about two browser windows. User A logs in in browser A and sees DB results in results.jsp page Then, User A open Browser B from Browser A. if he does that, he will see results in two pages, browser A and browser B. and then he will be able to do different edits from differen

Re: General question

2007-02-01 Thread Maya menon
Dave, Thanks for the reply. Yes I had the variable initially set in session. Then when I did Cntrl+N[open new window] from the existing browser window, I see the same result in the second window. Even when I set it in request object and do[open new window] the same result is being

RE: General question

2007-02-01 Thread Hartrich, James CTR USTRANSCOM J6
Are you talking about different browser "windows" or just new "tabs" in the same browser? Perhaps try an application scoped variable that tests the current user, allowing only one instance of the user to operate the app. -Original Message- From: Maya menon [mailto:[EMAIL PROTECTED] Sent:

Re: General question

2007-02-01 Thread Dave Newton
--- Maya menon <[EMAIL PROTECTED]> wrote: > My question is: if users try to open another > window and do simultaneous tasks, how can I avoid > same user from working in two or more different > windows in a Struts based j2ee application ? I don't know as you can (easily), but your scenario doesn

Re: General Question in JSP

2004-10-26 Thread Dakota Jack
gt; -- C.A.R. Hoare > > > >-Original Message- > >From: Michael G. McGrady [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, October 27, 2004 11:33 AM > >To: Struts Users Mailing List > >Subject: Re: General

Re: General Question in JSP

2004-10-26 Thread dmu2201
: Wednesday, October 27, 2004 11:33 AM To: Struts Users Mailing List Subject: Re: General Question in JSP If you call a function inside another function and there is not decoupling and multithreading involved, then, of course, all things being equal, the first function cannot continue until the second

Re: General Question in JSP

2004-10-26 Thread Jack
Message- > From: Michael G. McGrady [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 27, 2004 11:33 AM > To: Struts Users Mailing List > Subject: Re: General Question in JSP > > If you call a function inside another function and there is not decoupling > and multithrea

RE: General Question in JSP

2004-10-26 Thread Rajesh
: Wednesday, October 27, 2004 11:33 AM To: Struts Users Mailing List Subject: Re: General Question in JSP If you call a function inside another function and there is not decoupling and multithreading involved, then, of course, all things being equal, the first function cannot continue until the second

RE: General Question in JSP

2004-10-26 Thread Rajesh
: Wednesday, October 27, 2004 11:33 AM To: Struts Users Mailing List Subject: Re: General Question in JSP If you call a function inside another function and there is not decoupling and multithreading involved, then, of course, all things being equal, the first function cannot continue until the second

Re: General Question in JSP

2004-10-26 Thread Michael G. McGrady
If you call a function inside another function and there is not decoupling and multithreading involved, then, of course, all things being equal, the first function cannot continue until the second completes. Is that an answer to your question? crack On Wed, 27 Oct 2004 11:13:08 +0530, Rajesh <[