I don't think you can. In web.xml you only make the named DataSource available for your webapp, but the DataSource must be setted up already (in server.xml)...
Therefore, I think there is no possible way to do it. Does anyone know a solution, I will be interested to know it too! Jose On Sun, Feb 15, 2004 at 02:58:54PM -0800, Mike Duffy wrote: > The reference book I have shows how to configure a data resource (JDBC) in the > server.xml. > > Does anyone have a reference on how to do this in the web.xml? > > I'd like to be able to unpack a war and have everything run, without the need to > edit the > server.xml. > > Thanks for your help. > > Mike > > __________________________________ > Do you Yahoo!? > Yahoo! Finance: Get your refund fast by filing online. > http://taxes.yahoo.com/filing.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
