File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes JDBC connection using struts framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC connection using struts framework" Watch "JDBC connection using struts framework" New topic

JDBC connection using struts framework

Abhijit Kangale
Ranch Hand

Joined: Sep 17, 2009
Posts: 39
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.

wang lei

Joined: Mar 09, 2010
Posts: 12
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;

at end,i need to tell you that i am new to study english language,hehe
Jan Cumps

Joined: Dec 20, 2006
Posts: 2565

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

OCUP UML fundamental and ITIL foundation
I agree. Here's the link:
subject: JDBC connection using struts framework
jQuery in Action, 3rd edition