This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
ProcessType is field from the jsp or it should be in your action form.
Second thing it checks for the processtype is equal to delete or not. Equals will return ture or false based on the value of processtype.