• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Struts redirect doubts

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Stop it! You're embarassing me! And you are embarrassing this tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic