Process action in Multi-user environment

View: New views
2 Messages — Rating Filter:   Alert me  

Process action in Multi-user environment

by Bhaskar Roy-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

One of the major issue I am finding that if one user hits one button and
other user hits another button, first user getting the page request of
second user.

How we stop this?

Bhaskar

Re: Process action in Multi-user environment

by Ron McNulty :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Bhaskar
It rather sounds like you are breaking the rules for a J2EE application.
Basically, the controller logic needs to be thread-safe. This means no
member varaibles in controller classes, and no static variables (unless they
hold something that is truly meant to be in application-wide scope).
Anything that needs to persist between requests needs to be put into the
session.

My apologies if you are aware of all this - can you provide more detail? Are
you using a framework (e.g. Spring MVC) ?

Regards

Ron


----- Original Message -----
From: "Bhaskar Roy" <bhaskar.roy@...>
To: "Jetspeed Users List" <jetspeed-user@...>
Sent: Thursday, July 24, 2008 5:13 AM
Subject: Process action in Multi-user environment


> One of the major issue I am finding that if one user hits one button and
> other user hits another button, first user getting the page request of
> second user.
>
> How we stop this?
>
> Bhaskar
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@...
For additional commands, e-mail: jetspeed-user-help@...

LightInTheBox - Buy quality products at wholesale price