Hello Ted,
Monday, July 09, 2001, 3:14:37 PM, you wrote:
TH> Oleg V Alexeev wrote:
>> Source for bf.beans.Sample is in
>> http://www.sura.ru/~gonza/bean-factory/bean-factory-src.zip
TH> Thanks, I've got it now.
>> I think that is because of ActionServlet can not init datasource to
>> use it with JDBCFactory. struts-config.xml must contain datasource
>> definition with appropriate driver, URL, etc. Now bean-factory can not
>> retrieve datasource from JNDI - only from ActionServlet environment.
TH> Do you have one setup for a default, local install of MySQL?
No... I build sample to work with DB2... 8(
Main reason of it - I can not start MySQL in my test environment. 8(
TH> I changed my driver and URL to
TH> driverClass="org.gjt.mm.mysql.Driver"
TH> url="jdbc:mysql://localhost/test"
TH> and removed the user/password. MySQL is running.
TH> I'd like to start using this, but it would be helpful to have a working
TH> example as a baseline.
Yes, of course, Ted. But now I create ServicesServlet to support
extension mechanism of struts and start to refactor bean-factory as
Service for this ServicesServlet. I'l make example on base of my
latest code... My old version of bean-factory will be broken.
TH> Part of it is that I don't know where the example is going to do. Do you
TH> have any screen shots from your copy?
I can send it to you.
--
Best regards,
Oleg mailto:[EMAIL PROTECTED]