Luc,
Thanks for the example, ... but this is a class that already exists .. I
mean, was created as part of Java. What I'm interested in is how it gain
access to a class that I've created.
Michael J. Fuhrman
Reliable Business Computers
http://www.creliable.com
-----Original Message-----
From: Luc Saint-Elie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 26, 1999 5:47 PM
To: [EMAIL PROTECTED]
Subject: Re: Newbie Question
Michael,
Here is the way I use a class called DBconnection (a JDBC connection poll):
<%@ page language="java" import="java.sql.*,DBConnectionManager" %>
<%!
DBConnectionManager connMgr = DBConnectionManager.getInstance();
%>
<html>
[...]
<%
Connection con = connMgr.getConnection("idb");
if (con == null) {
out.println("Can't get connection");
return;
Le 17:25 26/08/99 -0400, Michael Fuhrman a �crit:
>I have a Java Class and would like to use it in a JSP file.
>
>How do I get the two linked?
>
>Please provide simple hello world example
+------------------------------------------------+
| Luc Saint-Elie |
| 75018 Paris France |
| Tel: 1(212)894 3713 ext: 0012 |
| email : [EMAIL PROTECTED] |
+------------------------------------------------+
| Java Server Side Open Source technologies |
| http://www.interpasnet.com/JSS |
+------------------------------------------------+
===========================================================================
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
===========================================================================
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