2008/3/27, Chen Chunwei <[EMAIL PROTECTED]>: > I've already configured a <data-source> 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 is better to use JNDI to take it from the container. Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]