What JAR files are needed for Eclipse to use JSTL so it ultimately works on GAE/J?

后端 未结 6 1599
误落风尘
误落风尘 2021-02-04 07:43

I\'ve been trying for longer than I\'d like to admit to get JSTL working under Eclipse (and ultimately under GAE/J). I\'ve downloaded Eclipse, the Google App Engine Extension f

6条回答
  •  心在旅途
    2021-02-04 08:16

    Ensure that your web.xml root declaration complies at least Servlet 2.4.

    
    
        
    
    
    

    Or if your servletcontainer supports it, prefer 2.5:

    
    
        
    
    
    

    O if it supports the latest version3.0

    
    
        
    
    
    

    Otherwise everything will fall back to least supported modus and taglibs may break like that.

    Also ensure that you don't have loose tld files wandering around in the classpath (the /WEB-INF/lib folder, among others), they will collide with the ones in JAR files. Oh, also ensure that you didn't manually define the tlds in web.xml, keep it clean.

提交回复
热议问题