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;ifc2List.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
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;ifc2List.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
Re: Variable i may not have been initialized. for ( int i = 0; i fc2List.size(); i++ ) ...... Please help
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;ifc2List.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
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
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;ifc2List.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
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;ifc2List.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
Re: Variable i may not have been initialized. for ( int i = 0; i fc2List.size(); i++ ) ...... Please help
hi, can you send me that code..i will look into it. -anoop -Original Message- From: Lisa Xu [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 12:29 PM 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;ifc2List.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
Re: Variable i may not have been initialized. for ( int i = 0; i fc2List.size(); i++ ) ...... Please help
Lisa, probably u have another uninitialized variable i in ur JSP. please check for it. -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 NIIT Technologies 'Trust Us to Find the Way'. For details visit our website http://www.niit.com ___NOTICE This electronic mail transmission contains confidential information intended only for the person(s) named. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you received this transmission in error, please notify the sender by reply e-mail and then destroy the message. Opinions, conclusions, and other information in this message that do not relate to the official business of NIIT shall be understood to be neither given nor endorsed by NIIT When addressed to NIIT clients, any information contained in this e-mail is subject to the terms and conditions in the governing client contract. === 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
Re: Variable i may not have been initialized. for ( int i = 0; i fc2List.size(); i++ ) ...... Please help
probably you have been trying to access the variable i outside the for... loop(ie. when i is local to the for-loop). If that is the case, then you may get this error message. Try something like : int i=0; for(i; ifc2List.size(); i++){ // here comes your for-loop block } // now you can access i I hope it solves your problem ! bob. === 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