Hi,

 

I am trying to support an existing web site in jspx. I have setup Tomcat
on a Windows server as a test environment before I deploy my changes.
However I cannot open the index page. I get this error and I am not sure
how to fix it http://localhost:8080/viewscast/index.jspx:

 


HTTP Status 500 - 

  _____  


type Exception report

message 

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

exception 

org.apache.jasper.JasperException: No tag "xhtml" defined in tag library
associated with uri "urn:jsptagdir:/WEB-INF/tags"
 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServle
tWrapper.java:510)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:375)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause 

org.apache.jasper.JasperException: No tag "xhtml" defined in tag library
associated with uri "urn:jsptagdir:/WEB-INF/tags"
 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand
ler.java:50)

...................

............................

 

The following is the code from the index.jspx page:

 

<tags:xhtml xmlns:tags="urn:jsptagdir:/WEB-INF/tags"
xmlns:jsp="http://java.sun.com/JSP/Page";
xmlns:c="http://java.sun.com/jsp/jstl/core";
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt";
xmlns:syn="http://www.synovate.com/core";
xmlns="http://www.w3.org/1999/xhtml";>

<jsp:directive.page contentType="text/html; charset=utf-8"
language="java" session="false"/> 

<head>

            <c:import url="/jspf/http-equiv.jspx"/>

            <c:import url="/jspf/meta.jspx"/>

            <c:import url="/jspf/link.jspx"/>

            <c:import url="/viewscast/jspf/link.jspx"/>

            <c:import url="/viewscast/jspf/silo.change.jspx"/>

</head>

<body class="index">

            <div id="hide">&#160;</div>

            <c:import url="/viewscast/jspf/menu.cool.jspx"/>

            <div id="wrapper">

                        <table border="0" cellpadding="0"
cellspacing="0" height="100%">

                        <tr>

                                    <td valign="top" height="353">

                                                <c:import
url="/viewscast/jspf/header.jspx"/>

                                                <c:import
url="/viewscast/jspf/menu.jspx"/>

                                                <c:import
url="/viewscast/jspf/index.silos.jspx"/>

                                    </td>

                        </tr>

                        <tr>

                                    <td valign="top">

                                                <div id="headlines">

                                                            <div
id="left">

 
<a href="${langPath}/current/news/"><div id="title">&#160;</div></a>

                                                            </div>

                                                            <div
id="news">

 
<div id="padding">

 
<c:import url="/jspf/latest.news.jspx"/>

 
</div>

                                                            </div>   

                                                            <div
id="right">

 
<a href="${langPath}/current/news/">More news &#187;</a>

                                                            </div>

                                                </div>

                                    </td>

                        </tr>

                        <tr>

                                    <td style="height:51px">

                                                <c:import
url="/jspf/inside.footer.jspx"/>

                                                <c:import
url="/viewscast/jspf/footer.jspx"/>

                                    </td>

                        </tr>

                        </table>

            </div>

            <div id="onepix">&#160;</div>

</body>

</tags:xhtml>

 

I have tried downloading the xtags and adding them to the WEB_INF folder
in the ROOT directory but this has not helped. Any assistance would be
greatly appreciated.

 

Many thanks

 

Andrew 

 

 

Reply via email to