Code for servlet

Change-Id: I71f14d7385c033264c6a28a122db38fdbe36a54d