Shailender Jain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 07, 2004 6:20 PM
Subject: getDataSource() in JSP
> Hello,
>
> I want to use the method getDataSource() from my JSP page.
> I want to use this since i am using some tag library to do so
"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
Hello,
I want to use the method getDataSource() from my JSP page.
I want to use this since i am using some tag library to do some generic
things.
Can somebody let me know how i can use this function to get connection
so that i can use them in tag library.
In this tag i will pass some sql query
3 matches
Mail list logo