how do you get rid of nulls?

Hi I get nulls before i click the "submit buttom. I just want it to go away so it can make the page look nice. this is my code. I tried researching it, but I keep coming across servlets that does not answer my question