aspose file tools*
The moose likes Struts and the fly likes Scope in Struts bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Scope in Struts bean" Watch "Scope in Struts bean" New topic
Author

Scope in Struts bean

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 234
Hi all,

Can somebody tell me if we set some form value in request scope then from a same machine if two browsers are opened then will they get the same request or not?

Thanks in advance,

Kousik


Thanks in Advance,
Kousik
shankar reddy
Ranch Hand

Joined: Jun 04, 2007
Posts: 71
As my concern , It will create separate request object for another object.


Java Lover<br /> <br />Shankar Reddy <br />SCJP1.4 (88%)
Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643
Struts are developed in Servlets.Servlets are thread based.If you open two browser at a same time and are requesting same Servlets then two separate threads are created.Request attribute are thread safe.
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Note that IE has a "feature" where if you open a new window via the File>New Window menu or Ctrl+N that the new window will interact with the same session. If you launch a new IE browser (say from the Windows Start menu) then it will use a different session.

- Brent
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Scope in Struts bean