Re: Error in unix machiones with taglib

"emerson cargnin" <[email protected]> Tue, 11 Jul 2006 10:34:20 +0100
Newsgroups gmane.text.xml.resin.user
Message-ID <[email protected]>
hello? anyone there? :)

On 10/07/06, emerson cargnin <[email protected]> wrote:
> I get error when trying to access the JSP page i put below:
>
> /nationalsAndAgenciesPOC-1.1/jsp/filterAdverts.jsp:2:
> org.xml.sax.SAXParseException:
> The prefix "jsp" for element "jsp:root" is not bound.
>
> The second line is the core taglib reference. No jsp:root there....
>
>
> JSP page:
>
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
> <%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
> <html:html locale="true">
> <head>
>  <title>Filter Adverts</title>
> </head>
> <body bgcolor="white">
> <jsp:include page="/header.do"/>
> <%
>   int totalAdverts =
> ((Integer)request.getAttribute("advertResultSize")).intValue();
>   String userName = (String)request.getAttribute("userName");
> %>
> <h2><%=userName%></h2>
> <br/>
> <% if (totalAdverts <= 0) {
> %>
> <h1> Your adverts </h1>
> <br/>
> <div style="color:#FF0000;">
> There is currently no advertising for <b>Client Name</b>
> <br>
> To view historical information, go to Order history or Accounts & billing
> </div>
> <% } else {
> %>
> <%@ include file="/jsp/filterAdvertsCriteria.jsp"%>
> <br>
> <br>
> <jsp:include page="/filterAdvertResults.do"/>
> <% }
> %>
> <br>
> <br>
> <a href="/echannel/service/productlist.do?servicePage=myAdverts">Back
> to Yell products</a>
> <jsp:include page="/footer.do"/>
> </body>
> </html:html>
>