Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Servlets
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
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Servlets
Session Attribute
Atishay Jain
Greenhorn
Posts: 10
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
I want to check, whether the attribute is present in the session or not...
Can someone help me in this??
Thanks in advance
Muhammad Saifuddin
Ranch Hand
Posts: 1325
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
you can use getAttribute see
Java
Doc
for more help
HttpSession
Saifuddin..
[Blog]
[Linkedin]
How To Ask Questions On JavaRanch
My OpenSource
vjy chin
Ranch Hand
Posts: 279
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
As Saif suggested, you can use getAttribute to get the value. If the value is null, then the value is not present, if it's not null, then the value is in session.
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
retaining the combo box values
Cookies with requestDispatcher
storing data from database
Some listener questions...
Page Directives
More...