Boy that's annoying. Like this group of fellow programmers somehow owes you
an urgent reply. Why? That really bugs me. It's not just you. Lot's of
people do it.
Anyway, try this: sql is a standard part of Java 1.1 and 1.2, so you import
it as java.sql.*. If you are using some features of the new JDBC extensions
(which it does not look like you are doing), then you would import
java.sql.*.
Secondly, when you get a line number in the stack trace that tells you where
the error is occurring, go there and look. Chances are you'll find more
information.
Third, you are bound to run into trouble with the JDBC-ODBC bridge from
Sun. It's not thread-safe, and not meant for production. Expect Dr.
Watson's if you're on a Win32 system with more than single threaded access
to the database.
Scott Stirling
West Newton, MA
----- Original Message -----
From: "munu praveen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 16, 2000 7:28 PM
Subject: jdbc with jsp(pls give reply immm this is very urgent)
> Hi ,
>
> i ahve some problem with jsp using jdbc.
> i written a code like this. but it is not running.
>
>
> <%@ page import= "javax.sql.*,java.io.*" %>
>
> i have some errors with this code.
>
>
> Error: 500
> Internal Servlet Error:
>
> org.apache.jasper.compiler.ParseException:
> C:\gan1.jsp(0,4) Invalid directive
> at
> org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:174)
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html