Hi, My Current project runs on WebSphere 6.0.x. It is IBM JDK 1.4.2 complaint. We are trying to migrate to JSTL 1.1 from JSTL 1.0. --I have downloaded the jstl.jar and standard.jar files specific to JSTL 1.1 and put under WEB-INF/lib directory. --WEB-INF folder has fmt.tld,core.tld,x.tld which are JSTL 1.0 complaint. --Most of the JSP files in our project has the following tag library declaration: <%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
1.Do i need to overwrite the old tld files with the latest tld files specific to JSTL 1.1? 2.Does JSTL 1.1 works fine with JDK 1.4.2 support?
Originally posted by sudha swami: My Current project runs on WebSphere 6.0.x.
First and foremost, is this a JSP 2.0 container? If not, all bets are off.
WEB-INF folder has fmt.tld,core.tld,x.tld
Regardless of which version you are using, these files have no business being there! Why did you extract the tld files from the jar files and place them in WEB-INF? Remove them. The container will locate the tld files inside the jar files.
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
Fix these to use the real URIs for the JSTL version that you are using.
2.Does JSTL 1.1 works fine with JDK 1.4.2 support?
Unsure. But if your container isn't running JSP 2.0, it doesn't matter. [ December 20, 2007: Message edited by: Bear Bibeault ]
What about the rest of the configuration? The TLD files in WEB-INF need to be removed. They're already in the jar files and copying them to WEB-INF is unnecessary and can lead to problems.
Is your web.xml declared correctly? This is all covered in the JSP FAQ.
Joined: Apr 24, 2007
Hi, Thanks alot for the info. I have removed the tld files from the WEB-INF folder. I have declared web.xml correctly. I am not very sure whether JSTL 1.1 works fine with JDK 1.4.2 support. let me try. regards sudha