I'm needing a simple sample database source code that use settings from
struts-config.xml (<datasources></datasources>).
I tried the example from Struts User's Guide, but i get error message when i
try to compile the source code. 
For example, i'm getting error messages in these lines below:
dataSource = servlet.findDataSource(null); 
myConnection = dataSource.getConnection(); 

The JSDK compiler doesn't seem recognize the findDataSource method from
Servlet class (The compiler present errors for Servlet class too!).
Anyone could send me a sample source code ?
thanks in advance.

Gilson DElrei


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to