Configuring Jetty JSP support in embedded mode in Maven project

前端 未结 6 1454
遥遥无期
遥遥无期 2021-01-30 05:50

I can visit .html pages with Jetty, but when I visit a .jsp page I get:

0 13:21:13 / [INFO] No JSP support. Check that JSP jars are in lib/jsp and th

6条回答
  •  一向
    一向 (楼主)
    2021-01-30 06:22

    Building upon Simon Huet's excellent answer, here's my take:

    
        nsb-${project.version}
        2.2.3
        1.2.1
    
    
    
    
        
        
            org.eclipse.jetty
            jetty-webapp
            ${jetty.version}
        
    
        
        
            org.glassfish.web
            javax.servlet.jsp
            ${glassfish.javax.version}
        
    
        
        
            org.glassfish.web
            javax.el
            ${glassfish.javax.version}
        
    
        
        
            org.glassfish.web
            javax.servlet.jsp.jstl
            ${glassfish.javax-jstl.version}
            
                
                    jstl-api
                    javax.servlet.jsp.jstl
                
            
        
    
    
    

提交回复
热议问题