Re: How to use in your own java file?

2008-03-27 Thread Chen Chunwei
Thanks Antonio I will try it. Talos - Original Message - From: "Antonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, March 27, 2008 4:23 PM Subject: Re: How to use in your own java file? 2008/3/27, Chen Chunwei <[EMAIL

Re: How to use in your own java file?

2008-03-27 Thread Antonio Petrelli
2008/3/27, Chen Chunwei <[EMAIL PROTECTED]>: > I've already configured a in struts-config.xml through some > reference. But I don't know how to use it in my own business logic. Use the "getDataSource" method in your action. Anyway, notice that it is discouraged to use a data source this way. It

How to use in your own java file?

2008-03-27 Thread Chen Chunwei
Hi all, I've already configured a in struts-config.xml through some reference. But I don't know how to use it in my own business logic. Talos