how to add taglib of jsf in jsp pages

Posted on 2009-04-28
Last Modified: 2013-11-24
i got  this exception while running this jsp code how to handle it please help me

HTTP Status 500 -

type Exception report


description The server encountered an internal error () that prevented it from fulfilling this request.


org.apache.jasper.JasperException: The absolute uri: cannot be resolved in either web.xml or the jar files deployed with this application

note The full stack trace of the root cause is available in the JBossWeb/2.0.1.GA logs.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "">

<%@ taglib uri="" prefix="h" %>

<%@ taglib uri="" prefix="f" %>

<%@ taglib uri="" prefix="ui" %>

<%@ taglib uri="" prefix="rich" %>




  <script type="text/javascript" src="swfobject1.js"></script>






Open in new window

Question by:RaghupalReddy
    LVL 11

    Expert Comment

    I think u canonot use
    <%@ taglib uri="" prefix="ui" %>

    in jsp.
    LVL 11

    Expert Comment

    LVL 12

    Accepted Solution

    Add this to your web.xml file    
           <taglib id="1">

    you need to have the .tld files in the WEB-INF folder and also you need to add similar entries for for other libraries as well

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    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…
    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.

    779 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

    14 Experts available now in Live!

    Get 1:1 Help Now