JSP database location

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • isoquin
    New Member
    • Jul 2007
    • 48

    #1

    JSP database location

    Someone gave me some code to sift through, and I'm somewhat at a loss. I have this at the start of the page:

    Code:
    <%@ page import="java.util.*,
    java.util.ArrayList,
    com.ei.AccessDB" %>
    AccessDB dbAccess = null;
    dbAccess = new AccessDB();
    and then later, this:
    ArrayList featReq = dbAccess.getRes ultList(featStr ing);

    Now, I really am a novice here, but it appears that the JSP is calling some database, with class named AccessDB which the coder stored.... somewhere. If this is wrong, please correct me.

    So, the question is: Where is the database stored on this site (and thus, how do I access it)?
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by isoquin
    Someone gave me some code to sift through, and I'm somewhat at a loss. I have this at the start of the page:

    Code:
    <%@ page import="java.util.*,
    java.util.ArrayList,
    com.ei.AccessDB" %>
    AccessDB dbAccess = null;
    dbAccess = new AccessDB();
    and then later, this:
    ArrayList featReq = dbAccess.getRes ultList(featStr ing);

    Now, I really am a novice here, but it appears that the JSP is calling some database, with class named AccessDB which the coder stored.... somewhere. If this is wrong, please correct me.

    So, the question is: Where is the database stored on this site (and thus, how do I access it)?
    The database could be anywhere. You may or may not be able to access the database depending on how that system was written, how much security there is on it and what you want to do on the database.
    You better ask the owner of the DB or system about it.

    Comment

    Working...