AnsweredAssumed Answered

JSP is not working in the version

Question asked by Brenda Alcaraz on May 8, 2019
Latest reply on May 10, 2019 by Sean Miller



I am trying to validate a form field with the following jsp, but it seems that the jsp is not executing, this validation was working in the older version


Why is not working in the new version?


String name = request.getParameter("name");
String question = request.getParameter("question");
String value = request.getParameter("value");
if (value.length() > 10) {
    out.println("The maximum length set in here is 50 characters.");
if(!value.matches("[a-zA-Z0-9,._/&() -]+")){
    out.println("Special characters are not allowed.");


Validation URI : /aveksa/custom/jsp/validate_phone.jsp