General J2EE: access control exception

  1. access control exception (1 messages)

    i am having a program which retrieves data from the ms-access database to a jtable

    while (rs.next())


    String A = rs.getString(1);
    String B =rs. getString(2);
    String C = rs.getString(3);

    }i am getting an runtime error as accecc control exception
     can any one give me the correct code
  2. Are you trying to access from Applet?