I have a
JSP that acts as a logon page. It requests a
servlet(jQuery). That servlet calls a class that returns a user default value. Then the value is set to a session attribute. Now, I click a link on the same JSP to request another servlet(jQuery) using the attribute value as "${myAttribute}".
Sometimes all is well but then at times my request fails because the attribute value is blank.
The only way I can get it to consistantly work is to bring the default value back as a parameter in my jQuery call.