Fault tolerant to bad inputs in user servlet