Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

acess this session variable set in Struts2 Action

 
Vamsi Krishna Varma
Greenhorn
Posts: 5
Java PHP Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Accessing session variable in Struts2
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic