Arif Bilge Yorgan wrote:
>
> Thanx Daniel and Kevin,
> Your comments were very helpfull.
>
> Now i tried only to connect to odbc datasource within JSP.
>
> Following code has no effect:
> <% page language="java" import="java.sql.*,java.net.URL " %>
>
> My CLASSPATH is properly configured.  i successfuly connected
> via a java program. But same code not functioning in JSP scriplet.
> Compiler cant find Connection object.

There's a bug in JSWDK 1.0 EA: "import" is "imports" instead. So use
<% page language="java" imports="java.sql.*,java.net.URL " %> until
the bug is fixed.

--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to