Why I get error tip message in eclipse on left when I include the following line.
<c:out value=${variable}/>
I get the error “Unknown tag(c:out)”
I also included on top
<%@ page isELIgnored ="false" %>
Is there a jstl I need to include?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’re apparently developing with a servlet container which does not support JSTL out the box, such as Tomcat. In that case, you need to download jstl-1.2.jar and drop in
/WEB-INF/libfolder of your webapp. No other changes are necessary, also not extracting the JAR file and/or littering the/WEB-INFfolder with loose TLD files as some poor online tutorials suggest.After having dropped the JAR file in the classpath (the
/WEB-INF/libfolder is part of the webapp’s runtime classpath), you should be able to reference the JSTL core taglib by putting the following line in top of your JSP as per its documentation:JSTL 1.2 requires a minimum of Servlet 2.4 declaration in
web.xml. So make sure that yourweb.xmlhas the proper root declaration, preferably the highest supported version as supported by your servlet container (Tomcat 7 is Servlet 3.0, Tomcat 6 is Servlet 2.5 and Tomcat 5.5 is Servlet 2.4).See also:
[jstl]tag which you put on the question yourself and clicking the info link on the popbox)