This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ServletContext and Attributes

 
netanel weinberg
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

i'm tyring to pass to the ServletContext and a object i'm using and used:

and to i'm checked it can found in the ServletContext.getAttributeNames().
now when i'm trying in my jsp to reterieve the object

but i'm getting and object but with other address with null values and even when i'm trying to print out the address of the object from the
i'm getting the same address as the address of the object i got in the jsp page and not the address of the object i have put in the setAttribute.
more over i'm have tried to print all the AttributesNames from the ServletContext and i've got the same list as i've got in the servlet when tried to print the AttributesNames from the ServletContext, what can be the problem???

10x ahead,
netanel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic