Does anyone knows what I'm missing?
Apache's implementation can be had here.
Here are a couple that do:
If you download Geronimo 2.2.1 from Apache, you'll find a jstl-1.2.jar in the repository/javax/servlet/jstl/1.2 subdirectory. I copied this jarfile into the $CATALINA_HOME/lib directory and a <c:forEach> construct seemed to work fine.
Flavio Ortellao wrote:But it is suspicious that since those links are dead, there's no any "official" provider...
I agree that it's strange. Normally, they'd be available somewhere around here: http://java.net/projects/jstl/, but the whole java.net web site is undergoing a massive reorganization, which currently means that only the source code is available, but no binaries. Eventually, the site will have the binaries, but I don't think a timeline has been announced for that yet. For the moment, downloading GlassFish is your best option (or building from source, which is easy enough if you have SVN and Maven available).
Ulf Dittmer wrote:Normally, they'd be available somewhere around here: http://java.net/projects/jstl/, but the whole java.net web site is undergoing a massive reorganization, which currently means that only the source code is available, but no binaries.
Binaries are now available one again: http://jstl.java.net/download.html
I downloaded the JSTL 1.2 JAR files (jstl-api-1.2.jar and jstl-impl-1.2.jar). Put them under WEB-INF\lib, however I still get the error message:
The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
What would be cause of the problem?
I also got the same problem. and add the following file to visualize.
[Edit: link removed due to excess advertising. Please copy and past text, not images or links.]
and also the following is my version info ..
Server info: Apache Tomcat/7.0.26
Servlet version: 3.0
JSP version: 2.1
Java version: 1.7.0_03
I have built my web.xml according to http://www.coderanch.com/how-to/java/ServletsWebXml
thanks in advance...
for those who gonna look and help me solve the problem.
Bear Bibeault wrote:
Nam Ha Minh wrote:That isn't enough, I have to put some xmlns declaration in the web.xml file:
Absolutely incorrect. No entries in the web.xml need to be made or should be made. The container will automatically find the TLDs in the jar files deployed in WEB-INF/lib.
No, it's true in my case. Maybe the TLDs are missing so the xmlns is required.