"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 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 and it will generate some combo >box, table. > > >Thanks, >Shailender Jain > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]