Re: Struts 2 session problem

2009-01-20 Thread RajibJana
Agree, some applications need same conversation across windows/tabs, some other application needs different conversations in seperate windows/tabs, typical example will be online booking/trading system. The server framework should support both models. Thanks Rajib DNewfield wrote: > >

Re: Struts 2 session problem

2009-01-19 Thread RajibJana
y 2009 00:01:22 RajibJana wrote: >> Can I expect this feature in future version of S2? It will help the S2 >> developers immensely, I bet. >> >> Thanks >> > > Patches are always welcome! > > -Wes > > -- > > Wes Wannemacher > Author -

Re: Struts 2 session problem

2009-01-19 Thread RajibJana
y 2009 00:01:22 RajibJana wrote: >> Can I expect this feature in future version of S2? It will help the S2 >> developers immensely, I bet. >> >> Thanks >> > > Patches are always welcome! > > -Wes > > -- > > Wes Wannemacher > Author -

RE: Struts 2 session problem

2009-01-19 Thread RajibJana
Can I expect this feature in future version of S2? It will help the S2 developers immensely, I bet. Thanks Rajib Andy Hahn wrote: > > > I agree with ya. I have been doing something very similar with hidden > fields in my app for some time. The server knows if a new browser > instance is r

Re: Struts 2 session problem

2009-01-19 Thread RajibJana
It seems to me SEAM has answer to my problem. Check out their booking example if anyone is interested. Thanks Rajib RajibJana wrote: > > "The issue that you may lose track of that state for a user if another > user hijacks the session is not a use case for a feature but

Re: Struts 2 session problem

2009-01-18 Thread RajibJana
classic > overengineering. Seems like Seam has gone to a lot of trouble to provide > just another way to persist state. > > > > > RajibJana wrote: >> >> Dave , you read my concern correctly, and my app needs the feature you >> have mentioned ( I guess ma

Re: Struts 2 session problem

2009-01-18 Thread RajibJana
Dave , you read my concern correctly, and my app needs the feature you have mentioned ( I guess many of such), Its not the login issue alone, the app needs multiple user sessions/conversations independent of http session, I will check how SEAM is providing such feature. Thanks Rajib newton.d

Re: Struts 2 session problem

2009-01-18 Thread RajibJana
a feature to me... If > a new users is performing a login in the same browser, I would make > sure that the old session is invalidated before the new user is logged > in. > > Nils-H > > On Sun, Jan 18, 2009 at 8:54 AM, RajibJana wrote: >> >> By conversation, I

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
would > say that is more of a login/security issue... > > Nils-H > > On Sun, Jan 18, 2009 at 8:26 AM, RajibJana wrote: >> >> This is not a authentication/authorization issue alone, app needs to >> maintain >> various user session specific info that need to

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
vide the tools to make this happen with interceptors. > > My recommendation is to either a) implement Spring Security or b) improve > the session handling of your current authentication mechanism so that a > new session is required in order for someone to login as two different > users

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
Sorry for replying late, as there is time diff ( living in India) Yes, the app wants SEAM conversation feature. Does S 2.1.6 provide any such feature or any other future version? Thanks Rajib newton.dave wrote: > > Dale Newfield wrote: >> One running browser instance shares session across

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
DNewfield wrote: > > RajibJana wrote: >> 1) if one opens a window and a tabbed window, logs into the application >> by >> giving different user id and password combinations, then two seperate >> sessions are not created. As a result, in the session map userid

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
it also works like charm. > > 3- [I have not tried this myself ], If you are using servers like > websphere, they provide other ways of session management except cookies > and url rewriting like using ssl id for session management. You may want > to try it. > > > --- On Sat

Re: dissplay a message in jsp

2009-01-17 Thread RajibJana
simply use #session.status if the action has a getter for status field. m.harig wrote: > > hello all > > I've a LoginAction in my application . Am checking my > username , password with my db. If the user doesn't exist i've to display > a message in my jsp page. Now am using sess

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
Yes, Dave, the tutorial does not address the problem. My application has user authentication page which has userid/password field. The valid user id ( after checking the user info in db) is put into the session map ( action implments sessionaware interface). The application has lots of screens an

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
gt; OK, If you find better solution, please let me know > > On Sat, Jan 17, 2009 at 2:58 PM, RajibJana wrote: > >> >> OK, I may try this if no other solution emerges. >> >> My question this is typical requirement for any enterprise level web app, >> how Str

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
ll be > old...so check for the attribute value set by the User X. > If attribute value is null, proceed asusual, else tell the user to open a > new browser window.. > > hope this is helpfull.. > >> transactions also get userid info as X. > > On Sat, Jan 17, 2009 at 1:

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
:23:49 RajibJana wrote: >> >> 1) A User opens a browser window( IE 7/Firfox) and logs in the >> application >> as User X and the application shows the logged in userid as X and DB >> transactions also get userid info as X. >> 2) The same user opens a bowse

Struts 2 session problem

2009-01-16 Thread RajibJana
Hi All, I am using struts 2.0.14 to build an enterprise application. It uses spring, hibernate, tiles, Dojo 1.2.2. Now I have a serious problem. My application has lots a pages and each page shows the logged in userid ( a string variable). This userid is put into the session map injected by the

Struts 2 dojo jsonrpc SMD problem

2009-01-04 Thread RajibJana
Hi, I am building a web application using Dojo 1.2.2 and struts 2.0.14 with spring plugin. The application is using Dojo JSONservice to call the remote action methods using JSONPLUGIN. The problem is that while all the interceptors ( defined in default stack) are called during creation of proxy

ExcludeParams in params interceptor is not working

2008-12-04 Thread RajibJana
Hi, I am using Struts 2.0.14 and dojo 1.2.2 to build a RIA application. In the application, I use dojo form widget to submit the form value to action class using POST method. In the form widget, I have userid and password field that are mapped to action class fields, but there is a dojo button

Re: sx:tree and sx:tabbedpanel do not integrate

2008-09-18 Thread RajibJana
Can anyone guide me to solve this problem? Thanks RajibJana wrote: > > Hi All, > > I am building a application using struts 2.1.2. > > In my application, I want to have tree and by clicking a tree node, an > action will excute and attached JSP with the action will

sx:tree and sx:tabbedpanel do not integrate

2008-09-18 Thread RajibJana
Hi All, I am building a application using struts 2.1.2. In my application, I want to have tree and by clicking a tree node, an action will excute and attached JSP with the action will have a tabbedpanel. ( just like a standard java GUI). I have searched the showcase examples and found out the d