wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2-Database configuration
 
Similar Threads
Tech Word Game
Large Files
Sharing data between web app's
Shopping Cart - Part 2
share data