Actually, my example works just fine.  It has DbActionServlet class that
inherits from ActionServlet.  DbActionServlet grabs a data source only once
at the init time, creates a Db object and opens it with the data source
argument.  The db package is not dependent on struts.  I have used a
similar db package n several client-server applets.

I do plan to use an Oracle example as well.  However, it is nice to have a
ready db example after you download the code.  The only thing you need to
do is to define the ODBC data source.  You do not need to have the Access
software to run the example locally.  Of course, the Access db file is
Windows only.

Ted Husted wrote:

> That's certainly worth looking at, and if Craig's suggestions don't fix
> you up, I will.
>
> The one thing I would note is that there are restrictions on how the
> JDBC:ODBC driver can be used with an Access database. If you continue
> to have problems, and haven't used this for other JDBC applications, I
> would try another database to be sure that is not the problem. Likely
> candidates might include MySQL (available for most platforms, including
> NT) and HyperSonicSQL, which is pure Java. Once you have confirmed that
> it is not an JDBC:ODBC:Access issue, you could switch back and continue
> troubleshooting.
>
> http://mysql.com/
> http://www.hypersonicsql.com/
>
> *********** REPLY SEPARATOR  ***********
>
> On 1/25/2001 at 2:06 PM Dzenan Ridjanovic wrote:
>
> Look at the examples in
>
> http://drdb.fsa.ulaval.ca:8080/dr/html/struts/membership/index.html
>
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Custom Software ~ Technical Services.
> -- Tel 716 425-0252; Fax 716 223-2506.
> -- http://www.husted.com/about/struts/

--
Dzenan Ridjanovic
http://drdb.fsa.ulaval.ca/


Reply via email to