How did you connect?
I have no problem with connecting the DB in Structs.
For simplicity, you can create a
JDBC reference in the ActionDispatcher, and connect to the DB by JDBC driver.
If you know a bit about JNDI, you may bind the connection reference to the JNDI, and look it up in the Action method.
What is the problem you actually faced?
Nick
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)