struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Viet <vi...@activia.net>
Subject Generic Data Source
Date Wed, 16 Oct 2002 09:51:18 GMT

GenericDataSource Question

I need to set the driver of a generic datasource
the only method to configure the driver is setDriverClass(String
driverCLass) 

I want a method like setDriver(java.sql.Driver driver)

The only way to handle this is to extend the GenericDataSource class 
and add this method ... but now I need to redefine the GenericDataSource
instantiation in order to instantiate my Implementation,
have an idea ?

(I imagine that this is done into the ActionServlet) ... 

-- 
Kevin Viet <vietk@activia.net>
ActiVia Networks




--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message