Jetty 7 hightide distribution, JSP and JSTL support

前端 未结 5 2255
旧巷少年郎
旧巷少年郎 2021-02-06 07:38

I\'ve been struggling with Jetty 7 and its support for JSP and JSTL.

My JSP file:

<%@ page language=\"java\" contentType=\"text/html; charset=utf-8\"          


        
5条回答
  •  执念已碎
    2021-02-06 08:39

    The reason why http://java.sun.com/jsp/jstl/core doesn't work is because the code in the Jasper Jsp parser used by Jetty (org.apache.jasper.glassfish:jar:2.2.2.xxx) assumes that that uri is a systemuri (see TldScanner.java) and it will not put any taglibs with this uri in its tablib location cache. I don't know why this assumption is in the code but it is. Seems to be a bug to me.

提交回复
热议问题