One of the - more complicated - solutions is to set up Java Naming and
Directory services (JNDI, see the documentation that comes with JDK1.3).
Using JNDI you can hide the details of connecting to your database(s) in a
DataSource object you store in the naming service.
Sun provides us with a "com.sun.jndi.fscontext.RefFSContextFactory" class
that provides a filesystem naming service.

Regards,
Guus

----- Original Message -----
From: "Rodney Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 15:19
Subject: Accessing JDBC-ODBC from Struts


> Hi
>
> I need some direction on how to incorporate JDBC-ODBC into my struts
> and where the ODBC should be stored in my application. Also how to
reference
> that in my Action Servlet, I am a little unsure about this area, but would
> appreciate some feed back or documentation that will simplify my work.
>
> Thanks
>
> Rodney
>
> --
> Sent through GMX FreeMail - http://www.gmx.net
>

Reply via email to