Solved

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

Posted on 2006-07-21
4
255 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
scoresIncreasing challenge 10 63
scoresClump  challenge 31 123
wordlen challenge 3 59
HashMap Vs TreeMap 12 55
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 second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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.

948 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

23 Experts available now in Live!

Get 1:1 Help Now