Hi Lisa, Can you send us the compelte code?
Regards, Dayanand. -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Bhushan_Bhangale Sent: Tuesday, July 09, 2002 1:16 PM To: [EMAIL PROTECTED] Subject: Re: Variable i may not have been initialized. for ( int i = 0; i < fc2List.size(); i++ ) ...... Please help If he would have done that then he would have got variable not defined. -----Original Message----- From: Emmanuel Eze [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 12:13 PM To: [EMAIL PROTECTED] Subject: Re: Variable i may not have been initialized. for ( int i = 0; i < fc2List.size(); i++ ) ...... Please help Are u sure u are not using the variable i anywhere outside the for() loop? Emma -----Original Message----- From: Lisa Xu [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 8:59 AM To: [EMAIL PROTECTED] Subject: Re: Variable i may not have been initialized. for ( int i = 0; i < fc2List.size(); i++ ) ...... Please help Hi Anoop Thanks for replying. This might sound all to stupid, but I have tried declare I outside the loop or not declare it at all. The funny thing is, if I don't declare it, the compiler knows it, but declare it anywhere in the program, I get this error msg. May not have been initialised????? I just don't get it. Regards, ----- Original Message ----- From: "Anoop Kumar V" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 4:47 PM Subject: Re: Variable i may not have been initialized. for ( int i = 0; i < fc2List.size(); i++ ) ...... Please help > Lisa, > ideally u shd not be getting this error. > Maybe u can send more of ur code... > > Or else try this. declare int i outside the for loop. > then inside th for loop use (i=0;i<fc2List.size();i++). > > -anoop > > -----Original Message----- > From: Lisa Xu [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 08, 2002 11:55 AM > To: [EMAIL PROTECTED] > Subject: Variable i may not have been initialized. for ( int i = 0; i < > fc2List.size(); i++ ) ...... Please help > > > Hi > > The jsp page i created keeps coming up this error msg. > I am stuck here, and i don't see why int i has not been initialized. > > Please help > > Regards, > > ==========================================================================To > unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ========================= To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com