Guido ([EMAIL PROTECTED]) wrote:
> Thank you. I was searching in ActionServlet class instead of Action.
>
> Now the Eclipse IDE warning singal has disappear and I can sleep again :P
Can you sleep for me too? I have no time for that.
Dan
--
- - - - - - - - - - - - - - - - - - - - - - - - - -
Thank you. I was searching in ActionServlet class instead of Action.
Now the Eclipse IDE warning singal has disappear and I can sleep again :P
On Sat, 15 Mar 2003, Dan Allen wrote:
} You will inherit a method from Action called getDataSource() which I
} think you should look into. There is a m
DataSource references in Business Layer
Date: Sat, 15 Mar 2003 17:22:20 +0100 (MET)
Two simple questions.
1. I usally define all the datasources i need in struts-config.xml file.
It is very easy, but how can I obtain a datasource reference in my
business logic classes?
I hate the idea of passin
You will inherit a method from Action called getDataSource() which I
think you should look into. There is a method in action for just
about every handler you would need, including
getResources()
saveMessages()
saveErrors()
getDataSource()
etc..
Check out the API docs for Action.
Dan
--
- - -
Two simple questions.
1. I usally define all the datasources i need in struts-config.xml file.
It is very easy, but how can I obtain a datasource reference in my
business logic classes?
I hate the idea of passing the reference to the business methods and I
don't want to include all my business lo
5 matches
Mail list logo