ui and servlet