This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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: 9137
    
    9

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


[How To Ask Questions On JavaRanch]
 
Have you checked out Aspose?
 
subject: Struts2-Database configuration
 
It's not a secret anymore!