Posts Tagged ‘datasource’
If you need to configure a server-managed datasource for testing your webapp, and you happen to be using Eclipse WTP, this is what you need to do.
- Have your server definitions on the workspace.
- Deploy your app to the server.
- Open
server.xmland find the application’s<Context> - Nest your datasource definition inside the
<Context>
If you need any other kind of <Resource> configured in your tomcat, you can proceed in the same way.
