Jetty 7 hightide distribution, JSP and JSTL support

前端 未结 5 2242
旧巷少年郎
旧巷少年郎 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:17

    tsk... I don;t have privilege to comment. I am using Jetty 7.1.6 and answer provided by bmargulies works.

    Basically, changing URI from

    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    

    to

    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    

    makes taglibs to work in Jetty 7.

    -Nishant

提交回复
热议问题