Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
JSP
Fetching from the session
Joe Martin
Greenhorn
Posts: 1
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Assuming ..
you are inserting the attribute in the session as
session.setAttribute(session.getId(), sessionObject);
Then how to get the sessionManager object in the JSP/JSTL ??
Bear Bibeault
Sheriff
Posts: 67756
173
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Why would use the session is as a key?
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Stefan Evans
Bartender
Posts: 1845
10
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
In general given a sessionAttributeName, the answer would be ${sessionScope.sessionAttributeName} or ${sessionScope['sessionAttributeName']}
If you use the session id as the attribute name, then I guess the answer would be ${sessionScope[pageContext.session.id]}
But I also wonder why you would do such a thing
Everyone is a villain in someone else's story. Especially this devious tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Advice on persisting complex state across multiple server trips
ASP
Alternative to Cookie?
Session problem in NetBeans
Field set in action method coming null in JSP
More...