Your format is wrong.  Try something like the following:

<%@ page import="java.sql.*" %>

Lee

_________________________________

Lee Turner
Systems Developer
_________________________________

Watt Gilchrist Ltd
Ring Road, West Park
Leeds, LS16 6RA
Tel: 0113 288 3200
Fax: 0113 275 1690
http://www.wattgilchrist.co.uk
_________________________________

> -----Original Message-----
> From: Daniel Lynn [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 02, 2000 3:05 PM
> To:   [EMAIL PROTECTED]
> Subject:      imports
>
> ok, so I'm trying to pu in the following line of code
>
> import java.sql.*;
>
> into my JSP page. I put it in with the <% %> around it... Unfortunately,
> the compiler says it's invalid. Any ideas?
>
> -Daniel
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to