Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSF
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
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
JSF
Setting a Boolean SessionScope Variable
DeAlton Jones
Greenhorn
Posts: 22
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi all!
I know that this must be a simple question. How can you set a boolean
SessionScope variable in a backerbean.
The code below
getSessionScope().put("Super",true);
this is the error description from my problem console
The method put(Object, Object) in the type Map is not applicable for the arguments (
String
, boolean)
Any Ideas would be great!!!
I am using RAD
ide
.
Bauke Scholtz
Ranch Hand
Posts: 2458
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Use Boolean instead.
getSessionScope().put("Super", Boolean.TRUE);
Space seems cool in the movies, but once you get out there, it is super boring. Now for a fascinating tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to get sessionscope boolean varible
Session Variable and JSTL
Using EL to get a session attribute, how to?
write jsp code in c:when tag
Setting a Boolean SessionScope Variable
More...