wood burning stoves 2.0*
The moose likes Struts and the fly likes acess this session variable set in Struts2 Action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "acess this session variable set in Struts2 Action " Watch "acess this session variable set in Struts2 Action " New topic
Author

acess this session variable set in Struts2 Action

Vamsi Krishna Varma
Greenhorn

Joined: Aug 25, 2012
Posts: 5

How to acess this session variable set in Struts2 Action to render some HTML Content Based on its value.Like lets say i have group of user which i listed in a page for which i have set a variable isUserListPage = true and displaying UserList HTML Content, if i click on a particular user i am changing it to false and displaying user profile HTML Content.How can write Conditional Statement in JSP For the Above based on the session attribute value set


V@^^$!
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

Accessing session variable in Struts2


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
 
jQuery in Action, 2nd edition
 
subject: acess this session variable set in Struts2 Action
 
Similar Threads
How to Internationalize the JavaScript included in the JSP file?
save result of jsp to text file /word file
Java mail contentType..
JSP file not showing frames.
HTML to PDF possible?