Your DataSources are stored in the application context. Use your implicit
pageContext reference to get a reference to the servlet / application
context, then get your data source using
(DataSource)ctx.getAttribute("dataSource");
Jonathan Wright
- Original Message -
From: "Shailender Jain"
"getDataSource" is a protected method inside the class Action, so you
cannot use it directly. Anyway I suggest to copy the code from the source
of Action, because it simply takes an object (i.e. the DataSource) from
the application scope.
Ciao
Antonio Petrelli
Shailender Jain wrote:
>Hello,
>
>I
2 matches
Mail list logo