944,096 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Marked Solved
  • Views: 2031
  • JSP RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Nov 5th, 2009
0
Re: Session in jsp problem
Click to Expand / Collapse  Quote originally posted by marysbv ...
I have similar prob. The get attribute is null while the id is not null.
for my java:
if(session.getAttribute(abc)==null)
System.out.println(abc is null
else
System.out.println(abc is not null)

if(session.getId()==null)
System.out.println(id is null)
else
System.out.println(abc is not null)

Do i need to also use session.setAttribute(abc) in the jsp?
Start your own thread, be more descriptive, did you put it in the session?
Sponsor
Featured Poster
Reputation Points: 1014
Solved Threads: 447
Nearly a Senior Poster
javaAddict is offline Offline
3,260 posts
since Dec 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: Problem in running JSP
Next Thread in JSP Forum Timeline: URL security in jsp how?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC