Hi,
can anyone hel me how to connect to database in struts?

I am using Oracle DB of personal pc. Tomcat 5.0 and struts 1.2.9

thanks
lalit

Recommended Answers

All 2 Replies

Look at the struts documentation. There is a tag in struts-config.xml which allows you to configure the datasource.

Better yet, don't use Struts.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.