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
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
--- 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
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
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
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:
--- 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
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
: 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
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
: 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
: 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
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 <[
13 matches
Mail list logo