Solved

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

Posted on 2006-07-21
4
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
iterator/ListIterator approach 17 68
ejb stateless example 2 68
java example issue 5 66
Code Coverage and Coding Standards 2 80
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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.

739 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