Re: getDataSource() in JSP

2004-10-07 Thread Jonathan Wright
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

Re: getDataSource() in JSP

2004-10-06 Thread brenmcguire
"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

getDataSource() in JSP

2004-10-06 Thread Shailender Jain
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