Move entries from Server.xml to web.xml

Hello,

We are dependent on camunda engine-rest application only, for that we are trying to move the entries from sever.xml to web.xml of application.

But its failing. Can anyone help me with the steps. It will really help. Thanks.

Using Spring the issue is resolved :