File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: acess this session variable set in Struts2 Action
 
Similar Threads
How to Internationalize the JavaScript included in the JSP file?
HTML to PDF possible?
save result of jsp to text file /word file
JSP file not showing frames.
Java mail contentType..