This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts2-Database configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2-Database configuration" Watch "Struts2-Database configuration" New topic
Author

Struts2-Database configuration

Mariya Antony christopher
Ranch Hand

Joined: Jan 24, 2012
Posts: 49

please let me know How to configure the database in struts.xml.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

You don't. Struts is an implementation of the Front Controller Pattern. It has nothing to do with back-end tasks like interfacing to a database. This FAQ entry from Struts 1.3 is still valid for Struts 2.x


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
wood burning stoves
 
subject: Struts2-Database configuration
 
Similar Threads
Tech Word Game
Large Files
Sharing data between web app's
Shopping Cart - Part 2
share data