The JSP EL doesn't use local scriptlet variables. It uses scoped attributes. You code would work if the scriptlet did:
request.setAttribute("list", list);
But you should never use scriptlets. The Java code should be in a controller written as a Java class. And the Java code should use generic types, not raw types: List<String>
ad not List
.