Advertisement

05.17.2007 at 01:22AM PDT, ID: 22577585
[x]
Attachment Details

session in JSTL

Asked by karanw in Java Standard Tag Library (JSTL) & Server Tags, Java Server Pages (JSP)

Tags: jstl, session

<%=session.getAttribute("user-object")%> Giving me value
but <c:out value="${sessionScope.user-object}"> giving me 0.

Is there any other way in jstl to get correct value?
Start Free Trial
 
 
Loading Advertisement...
 
[+][-]05.17.2007 at 01:31AM PDT, ID: 19106650

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Standard Tag Library (JSTL) & Server Tags, Java Server Pages (JSP)
Tags: jstl, session
Sign Up Now!
Solution Provided By: objects
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.17.2007 at 02:14AM PDT, ID: 19106784

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.17.2007 at 02:18AM PDT, ID: 19106797

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32