This is JSP. You have to understand something of Java to comprehend this.
Code:
<%@ page import="java.sql.*" %>
means "allow every object in the java.sql package." A Java package is a sort of directory for objects, often called a namespace in other languages.
java.sql contains classes for dealing with databases and SQL. java.util contains generally useful classes, which aren't quite useful enough to be in java.lang, the default package: string tokenizers, calendar objects, and others.
Code:
<jsp:useBean id="dbselect" class="database.dbSelect" scope="session"/>
... means "create a new instance of database.dbSelect called dbselect, with session scope."
ddadmin, there really ought to be a JSP forum with all these requests...
Bookmarks