This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retreiving the session attribute value from anoher Action class

 
lokesh simha
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
i am writing the program using struts. i want to access the variable dat is declared/ in an action class from another action class. i am using request.getSession().setAttribute("DeptId", Dept_ID); and corresponding getAttribute() method to access that variable, but i am not able to retrieve that variable/attribute value value, please help me friends even though it seems to be very silly problem am struggling a lot to get it..please please

thanks in advance
Lokesh
 
Fred Artes
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic