I van write a method inside
java class to update the database. But where do I store tha database details? I tried as below. But I get some error in web.xml file.
web.xml as below:
I created context.xml to store the details of database as below:
I am following an example from web to apply into my application. Hence something is missing which I am nto aware.
I get error as "Invalid content was found starting with the element <resoure-ref>. My web.xml is as below:
Can anyone tell me how to proceed further? Thanks.