This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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: 8913
    
    8

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]
 
GeeCON Prague 2014
 
subject: Struts2-Database configuration