This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
In the file "setvalue.jsp" I set a variable like this:
Integer t = 10;
and in another file "getvalue.jsp" I'm trying to get the stored value like this:
Integer m = (Integer)application.getAttribute("tvalue");
if (m == null)
When running getvalue.jsp is returned this error: org.apache.jasper.JasperException: PWC6049: Attempted a bean operation on a null object. But when I use getAttribute("tvalue") in the same file ("setvalue.jsp"), it works fine.
What is it happening ?
Thanks for your patience :)
Joined: Sep 12, 2012
I got it, the error was caused by remains of previous attempts :)