The Artima Developer Community
Sponsored Link

Java Answers Forum
getAttribute/setAttribute in jsp

3 replies on 1 page. Most recent reply: Apr 22, 2002 3:43 PM by Singh M.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
patrick

Posts: 23
Nickname: patrick
Registered: Mar, 2002

getAttribute/setAttribute in jsp Posted: Apr 22, 2002 1:18 AM
Reply to this message Reply
Advertisement
hi,
i'm having a problem with the session attributes
in a page i'm writting session.setAttribute("var","value");
in a other page
session.getAttribute("var");
i'm getting nothing
could anyone help me with this please?
thank you


Singh M.

Posts: 154
Nickname: ms
Registered: Mar, 2002

Re: getAttribute/setAttribute in jsp Posted: Apr 22, 2002 7:15 AM
Reply to this message Reply
What do you mean by getting nothing? Are you getting null for the value or not?

patrick

Posts: 23
Nickname: patrick
Registered: Mar, 2002

Re: getAttribute/setAttribute in jsp Posted: Apr 22, 2002 11:08 AM
Reply to this message Reply
yes indeed the value of getAttribute is null

Singh M.

Posts: 154
Nickname: ms
Registered: Mar, 2002

Re: getAttribute/setAttribute in jsp Posted: Apr 22, 2002 3:43 PM
Reply to this message Reply
Can you please post your code for both the jsp's. I doubt that you are doing something funny in your jsp's.

Flat View: This topic has 3 replies on 1 page
Topic: Reading from Text file Previous Topic   Next Topic Topic: Scrollbar - need help

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use