jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes ServletContext and Attributes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "ServletContext and Attributes" Watch "ServletContext and Attributes" New topic

ServletContext and Attributes

netanel weinberg

Joined: May 10, 2004
Posts: 27

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,
I agree. Here's the link: http://aspose.com/file-tools
subject: ServletContext and Attributes
jQuery in Action, 3rd edition