Full servlet Code Implemented