954,184 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Struts / Database connection

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

lalit2512
Newbie Poster
1 post since Jun 2006
Reputation Points: 10
Solved Threads: 0
 

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

aniseed
Posting Whiz
359 posts since Apr 2006
Reputation Points: 48
Solved Threads: 7
 

Better yet, don't use Struts.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You