|
Reading session attributes using JSTL
|
|
08-23-2008, 11:28 PM
Post: #1
|
|||
|
|||
|
Reading session attributes using JSTL
How can I read a session attribute using JSTL?
|
|||
|
08-24-2008, 12:06 AM
Post: #2
|
|||
|
|||
|
RE: Reading session attributes using JSTL
To access session attribute from JSTL try the following code.
Code: <c:out value='${sessionScope.variableName}'/>where variable is your session parameter name |
|||
|
08-24-2008, 12:07 AM
Post: #3
|
|||
|
|||
|
RE: Reading session attributes using JSTL
The following method also will work.
Code: <c:out value='${sessionScope["variableName"]}'/> |
|||
|
08-24-2008, 12:41 AM
Post: #4
|
|||
|
|||
|
RE: Reading session attributes using JSTL
thanks
|
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| Accessing servletcontext attributes using JSTL | rani | 1 | 904 |
03-16-2009 03:32 PM Last Post: albinjoseph |
|

Search
Member List
Calendar
Help




