JSP import formatting

I do prefer comma separated import list, but with one line per class, ie. formatted like:

<%@ page import="java.util.ArrayList,
                 java.util.List" %>

I don't feel as strongly about taglibs, but having them formatted similarly would be nice
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %><%@
    taglib prefix="c"   uri="http://java.sun.com/jsp/jstl/core" %>

How can I achieve that?

Please sign in to leave a comment.