This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes retreiving the session attribute value from anoher Action class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "retreiving the session attribute value from anoher Action class" Watch "retreiving the session attribute value from anoher Action class" New topic
Author

retreiving the session attribute value from anoher Action class

lokesh simha
Greenhorn

Joined: May 23, 2010
Posts: 1
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

Joined: Nov 14, 2008
Posts: 43



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: retreiving the session attribute value from anoher Action class
 
Similar Threads
How to print java Map name/value pair through JSON object in JS
how to get the setter and getter value in strut2
Scripting with JSTL Core tags.
Use of a page-scoped attribute
accessing <s:param> values in action