Hi Ichy.
Thanks a lot for your answer !! You have resolved my
problem. I had put a lot of different path in the
getResource() method but not the one which takes a
slash at the begining of the path :-/
Now all is ok and I don't need any O/R framework.
Mille mercis.
Philippe
--- ichy <[EMAIL
ng iBatis Sturts jPetStore on DAO or
> Rick Reumans Struts
> How to DAO tutorial.
> (DAO = Data Base Access)
> .V
>
> Philippe PONSONNET wrote:
> > This solution seems to be not possible because my
> > Database class is not a Servlet but a classic
> class.
> >
écrit :
> You could use the ServletContext's
> getInputStream("fileName") method
>
> Niall
>
> - Original Message -
> From: "Philippe PONSONNET" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, December 04, 200
Hello,
I would like to use a database with struts without using the default
datasource.
I also would like to configure all acces of this database with a xml file
named database.xml.
The goal of this is to have a really independant model.
So I have developped a special class named Database
Hello,
I would like to use a database with struts without using the default
datasource.
I also would like to configure all acces of this database with a xml file
named database.xml.
The goal of this is to have a really independant model.
So I have developped a special class named Database
Hello,
I try to use a datasource in the struts-config.xml
The file :
Hello,
I try to use a datasource in the struts-config.xml
The file :
7 matches
Mail list logo