J
Josep
Hi,
I have a doubt with struts.
How do I put some value in a context of application from an action?
I have a web application with a "listener" that puts "ds" key in the
context of application with de value of a Datasource retrieved with JNDI
.. THE pool was created with tomcat.
And then I want to call DAO's from my Action, but my DAO's requires that
I pass the Datasource.
How do I for put something in the context of application and where?
The "listener" puts the value when the context of application is
created, but then, how do I retrieve this value inside an action?
Thanks a lot.
Josep
I have a doubt with struts.
How do I put some value in a context of application from an action?
I have a web application with a "listener" that puts "ds" key in the
context of application with de value of a Datasource retrieved with JNDI
.. THE pool was created with tomcat.
And then I want to call DAO's from my Action, but my DAO's requires that
I pass the Datasource.
How do I for put something in the context of application and where?
The "listener" puts the value when the context of application is
created, but then, how do I retrieve this value inside an action?
Thanks a lot.
Josep