Hi, i should use Java classes in JSP, but i can't.

I have a class named Customer.java which is like this:

PHP Code:
import java.sql.*;
package Hotel;

public class 

And in my jsp file, at the top i wrote:

PHP Code:
<%@ page contentType="text/html; charset=iso-8859-9" %>
page import="java.sql.*" %>
jsp:useBean id="NewHotel" scope="session" class="Hotel.MyHotel"></jsp:useBean
It gives the following error:

org.apache.jasper.JasperException: /Hotel/acceptres.jsp(2,0) The value for the useBean class attribute Hotel.MyHotel is invalid.

What should i do?