Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Superclass of class not found


Message #1 by "Joy Lamb" <Joy.Lamb@C...> on Tue, 23 Jan 2001 00:07:25 -0000
I'm trying to create two beans similar to the ones in Chap 7 pg 177 where
you 'Fold Up' Commonly used code.  The first bean compiles fine, the
second bean which extends the first bean is getting the error; Superclass
com.chase.ccs.netman.webstats.dbConnBean of class
com.chase.ccs.netman.webstats.speedDialBean not found.

Below is the code for the speedDialBean.java

package com.chase.ccs.netman.webstats;

import java.sql.*;
import java.io.*;
import java.beans.*;
import com.chase.ccs.netman.webstats.*;


public class speedDialBean extends dbConnBean
{

ResultSet rs = null;
String SDGroupListSql = "select * from Speed_Dial_Group";
Statement stmt = null;
public speedDialBean() {

	super();
	}

	public boolean getNextGroup() throws Exception {
		return rs.next();
	}
	public String getColumn(String inCol) throws Exception {
		return rs.getString(inCol);
	}
	public boolean getGroupList() throws Exception {
		String Query = SDGroupListSql;
		stmt = conn.createStatement();
		rs = stmt.executeQuery(Query);
		return (rs != null);
	}
	public void cleanup() throws Exception  {
		stmt.close();
	}
}

  Return to Index