Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Struts 2 and JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 and JDBC" Watch "Struts 2 and JDBC" New topic
Author

Struts 2 and JDBC

Abhishek Purwar
Ranch Hand

Joined: Dec 15, 2007
Posts: 63

Hi freinds,
I am new to struts and got stuck in a situation.
I am using struts 2 and want to cofigure mysql datbase with my application.
But i am not able to connect.
Kindly guide me with an example which help me in writing config file for struts and
action class for accessing database.
I want to use only struts 2 framework and not not anyother like spring,hibernate.
So please help me out with some example so that i can understand the concept.

Thanks to all.


Abhishek Purwar,
Bangalore.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

There's nothing Struts 2-specific about using MySQL; you'll want to ask this question in the JDBC forum.
 
Consider Paul's rocket mass heater.
 
subject: Struts 2 and JDBC
 
Similar Threads
Installation steps for struts 2 with apache tomcat
references for struts 2
html select onchange problem
cann't understand struts framework
new to struts need help