Solved

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

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maven java path setting 5 64
word0 challenge 3 101
eclipse shortcuts 9 63
hibernate jars 4 45
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 last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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.

820 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