This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes reg: datasource - very very urgent 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 "reg: datasource - very very urgent" Watch "reg: datasource - very very urgent" New topic
Author

reg: datasource - very very urgent

srinivas srini
Greenhorn

Joined: Feb 03, 2004
Posts: 23
Hi all,
How can use two datasource in one struts-config.xml.
Is it possible for us to use two datasource in one struts-config.xml? if so how can i use it in the coding for accessing those datasources.
A code snippet will be very much helpful.
Thanks in advance
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

This article may help - there's example snippets at the bottom of the page.
http://www.informit.com/articles/article.asp?p=23734&redir=1


A good workman is known by his tools.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: reg: datasource - very very urgent
 
Similar Threads
connecting struts with database
Can there be more than one form in a JSP in struts
Connection Pool for JSP---Urgent
Can any one tell me how to use validator plugin in struts ?
Can we use two struts-config.xml in one struts application