Is there a way to check if a Java Bean Exist?
843830Dec 23 2004 — edited Dec 28 2004I created a session Bean used to passed form data to a chain of forms and I want to check if the session bean exist or is new the first time the form is loaded so I can set some default values on the form which will later get overwritten by the session bean when you return to the form using the back button.
I know there is a syntax for checking if an attribute exist in a session, but how about a specific session bean exist.
I tried this : if ( request.getSession(false) == null)
But because I have other session attributes besides the session Bean object it returns true.
kmcrtr5