Working with servlet