When I did session.setAttribute("name",null) NullPointerException was thrown. Is the behavior correct?
I guess not. Please provide your comments.
Jrun 4.0 stores session key/value pairs using Hashtable which does not allow null key/value. Thats the reason why exception is thrown but why can't I store null value in the session. Other Containers support this.
can you verify the session object itself is not null?
i know that the session object is implicity defined in JSPs, but if you're doing this in a Servlet, Filter, or some other class, then perhaps the session object is null :D
I tested the session object - It is not null.
There is a new JRun 4 service pack available, you may want to install it and see if your issue is fixed.