Configure servlet to work with simple input