try getDatasource( HttpSerlvetRequest httpServletRequest , String key );
from the Action Class
On Monday 24 March 2003 12:09 pm, Johan Wasserman wrote:
> Hi,
> Im just now converting to rc1.3 and find that findDataSource is
> deprecated. How do you find one of many datasources?
>
> FYI:
> ------
> I have a separate class called Database with method runQuery that
> returns a resultset to my ActionForm class, I only pass DBName and
> QueryString as parameters. So my previous code where:
> In ActionForm:
> ResultSet rs = Database.runQuery("logondb", "select username, password
> from users where username = '" + uname + "'");
>
> Many thanks in advance.
> Johan Wasserman.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]