How to configure Datasource externally
Hello...everyone Does anyone know how to configure datasource externally like using a class? In Struts, I use struts-config.xml file to configure datasource. However, how do I configure datasource from a class and make it available when web application start. Thanks in advance... -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: How to configure Datasource externally
You can create a DataSource in a plugin or the ActionServlet and store it in the ServletContext for later retrieval. David From: Kwon Yu [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How to configure Datasource externally Date: Mon, 04 Nov 2002 09:30:03 -0600 Hello...everyone Does anyone know how to configure datasource externally like using a class? In Struts, I use struts-config.xml file to configure datasource. However, how do I configure datasource from a class and make it available when web application start. Thanks in advance... -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Choose an Internet access plan right for you -- try MSN! http://resourcecenter.msn.com/access/plans/default.asp -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: How to configure Datasource externally
Thanks for your response... But do you have any example for this case ? On 11/4/02 9:33 AM, David Graham [EMAIL PROTECTED] wrote: You can create a DataSource in a plugin or the ActionServlet and store it in the ServletContext for later retrieval. David From: Kwon Yu [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How to configure Datasource externally Date: Mon, 04 Nov 2002 09:30:03 -0600 Hello...everyone Does anyone know how to configure datasource externally like using a class? In Struts, I use struts-config.xml file to configure datasource. However, how do I configure datasource from a class and make it available when web application start. Thanks in advance... -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Choose an Internet access plan right for you -- try MSN! http://resourcecenter.msn.com/access/plans/default.asp -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: How to configure Datasource externally
You can look at the Struts source to see how it does it. David From: Kwon Yu [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: How to configure Datasource externally Date: Mon, 04 Nov 2002 09:38:58 -0600 Thanks for your response... But do you have any example for this case ? On 11/4/02 9:33 AM, David Graham [EMAIL PROTECTED] wrote: You can create a DataSource in a plugin or the ActionServlet and store it in the ServletContext for later retrieval. David From: Kwon Yu [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How to configure Datasource externally Date: Mon, 04 Nov 2002 09:30:03 -0600 Hello...everyone Does anyone know how to configure datasource externally like using a class? In Struts, I use struts-config.xml file to configure datasource. However, how do I configure datasource from a class and make it available when web application start. Thanks in advance... -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Choose an Internet access plan right for you -- try MSN! http://resourcecenter.msn.com/access/plans/default.asp -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org _ Surf the Web without missing calls! Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org