Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC connection using struts framework  RSS feed

 
Abhijit Kangale
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hiii all,
I am new to struts. Can anyone give me link which will help me to understand how to establish JDBC connection using struts framework. If any step by step procedure is there that would be helpful. Thanks in advance.

Regards,
Abhijit
 
wang lei
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
establishing JDBC connection is not related with the struts framework,i think.

it's theory is the Class of java.sql.Connection,

such as the fowlling java code.

Connection conn = null;
try{
.....
}

at end,i need to tell you that i am new to study english language,hehe
 
Jan Cumps
Bartender
Posts: 2630
17
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wang is correct. Struts has nothing to do with configuring database connections (it had support for database connections at one time. They removed it because the functionality is available in the web containers).

You might want to look in the tutorial for your java web container to check how to set up and use database connections.
Regards, Jan
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!