I am trying to check if a Java String is not null, not empty and not whitespace.
null
In my mind, this code should have been quite up for the job.
<% System.out.println(request.getParameter("userName")+"*"); if (request.getParameter("userName").trim().length() == 0 | request.getParameter("userName") == null) { %> <% } else { %> Hello ${param.userName} <%} %>