Can anyone tell me why I am getting this error:
500 Internal Server Error
com.livesoftware.scripting.CompilerException:
Found 1 semantic error compiling
"C:/JRun/jsm-default/services/jse/servlets/jsp/Startup/GetResults.java":
86. Integer xyz = new Integer(xyz.intValue() + 1);
<->
*** Error: The variable "xyz" may be accessed here before having been
definitely assigned a value
This code is in my JSP file.
I am using JRun as you can tell.
I got this same error when I declared a variable HttpRequest req, and then
tried to use it.
The "request" object is implicit in all JSP pages.
I dont see how this statement should generate the same error.
I have fooled around a lot with declaring the variable xyz different ways
and in different parts of the page.
HELP!
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html