Click here to Skip to main content
11,803,861 members (79,324 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: struts
Hi guys

I worked out some sample in struts2.

I have struck in one point. while implementing my request.

when logged into my application . i will check whether the user is ordinary user and super user in action class 1.
if the user is ordinary user then i redirect the result for this success1 to call action class 2 to load some data into list in the welcome page.
if the user is super user then i redirect the result for this success2 to call action class 3 to load some data into list in the welcome page.

while redirecting the request i need to pass the login key entered by the user from action class 1 to action class 2 or 3 if the result is success1/success2.

Currently i am loading the user id in session and getting the value from session. i need to change this approach to above request.

can you help me out.
Posted 5-Apr-12 19:19pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 450
1 CPallini 320
2 F-ES Sitecore 240
3 Sergey Alexandrovich Kryukov 234
4 CHill60 220
0 OriginalGriff 3,000
1 Maciej Los 1,910
2 KrunalRohit 1,862
3 CPallini 1,755
4 Richard MacCutchan 1,187

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 6 Apr 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100