RE: Java Question

2003-08-26 Thread Steve Raeburn
This question was asked and *answered* yesterday. http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] he.orgmsgNo=86724 Is there any reason you are repeating the it? Steve -Original Message- From: Kapadia Mitesh-C23457 [mailto:[EMAIL PROTECTED] Sent: August 24, 2003 11:21 AM To:

RE: Java Question

2003-08-26 Thread Kapadia Mitesh-C23457
Sorry folks -- Please disregard my previous message w/subject -- 'Java Question' -Original Message- From: Kapadia Mitesh-C23457 [mailto:[EMAIL PROTECTED] Sent: Sunday, August 24, 2003 1:33 PM To: [EMAIL PROTECTED] Subject: Java Question Importance: High I've been trying to compile my

Re: Java Question

2003-08-25 Thread Mikael Eriksson - Swedish Connection
The error messages says that stmt/rs already have been declared. This is done in these lines in the beginning of the method //Declare and initialize variables Connection conn = null; Statement stmt = null; ResultSet rs = null; Change the later lines and remove the

RE: Java Question

2003-08-25 Thread Paananen, Tero
[javac] Compiling 2 source files to C:\jakarta-tomcat-4.1.27\webapps\benchmark\WEB-INF\classes [javac] C:\jakarta-tomcat-4.1.27\webapps\benchmark\WEB-INF\src\net\reu mann\OrgIdService.java:56: stmt is already defined in execute(net.reumann.DataHash) [javac]

RE: Java Question

2003-08-25 Thread Syed, Nazeer
Since you have already Defined the conn and stmt you no need to defined again . public class OrgIdService implements Serializable { //Declare and initialize variables Connection conn = null; Statement stmt = null; ResultSet rs = null; ArrayList

Re: Java Question

2003-08-24 Thread Dan Tran
Try to import only what you need, not the whole package. It can help you to trouble shoot this problem -D - Original Message - From: Kapadia Mitesh-C23457 [EMAIL PROTECTED] Newsgroups: Struts Sent: Sunday, August 24, 2003 11:32 AM Subject: Java Question I've been trying to compile my

Re: Java Question

2003-08-24 Thread Mark Lowe
Read the messages its telling you what's going on.. You've got 2 errors.. 1. stmt is already defined 2. that rs is already defined I don't know how much simpler this could be.. On Sunday, August 24, 2003, at 07:32 PM, Kapadia Mitesh-C23457 wrote: I've been trying to compile my BLB (Business

Re: Java Question

2003-08-24 Thread Oliver Reflé
Hi, you are declaring your stmt variable twice. This is not allowed. Just use name stmt. Check below to find the error Olli package net.reumann; import java.io.*; import java.util.ArrayList; import javax.servlet.*; import javax.servlet.http.*; import java.sql.*; import

RE: Java Question

2003-08-24 Thread Mike Whittaker
I've been trying to compile my BLB (Business Logic Bean) and have been getting errors during compilation. I haven't a clue as to how I could debug this. Any assistance would be appreciated. ResultSet rs = stmt.executeQuery(SELECT FACIL_ID, FACIL_NAME, FACIL_NAME_SHORT, ORG_ID FROM