`URLRewriting` works fine if I have my server configured, like selecting the checkbox in administrative console of Server. But I want to enable it from configuration files like application deployment descriptor or other xml. We have session-config in `web.xml`, with which we can mention session timeout, similarly, Is there any way of configuring server to enable URL Rewriting without using admin console? Please let me know if you need further information.

Thanks