2122232425262728
String value = bean.get(e.getKey()).toString(); sb.append(value + " "); } if(FormSpamFilter.isSpamField(sb.toString())){ bean.addErrorMessage("Spam Message Detected"); throw new FormPipeException(); } }