Solved

JSP 1.2 compatable -Not specifying the core tags in web.xml

Posted on 2006-07-21
4
253 Views
Last Modified: 2013-11-24
Hello I have a web application that I have developed using the latest version of JSP/Tomcat etc ..and works just fine.But when I port it to TomCat server (4.1.18) it fails to recoganize the JSTL tags even though the tld's and the jars are present .

So

Should I

1.add the Tag lib path to the web.xml

2.Is there anyway by which I could avoid this ..say by downloading simething ?


Thanks
0
Comment
Question by:micro_learner
4 Comments
 
LVL 5

Accepted Solution

by:
jpolin1 earned 250 total points
ID: 17156292
I work on websphere and we always define the jstl tld in web.xml, and the jar is in WEB-INF/lib directory.


 <taglib>
    <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
     <taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
0
 
LVL 14

Assisted Solution

by:boonleng
boonleng earned 250 total points
ID: 17158713
You can directly specify the tag lib path in jsp:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

Also, make sure you are using JSTL 1.0 instead of 1.1. Tomcat 4.1 does not support JSTL 1.1.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now