Step 1 : Implementing URL shortener with servlet