Handling Java Web Application Input