Re: Error in unix machiones with taglib

"emerson cargnin" <[email protected]> Thu, 13 Jul 2006 12:57:48 +0100
Newsgroups gmane.text.xml.resin.user
Message-ID <[email protected]>
version is 2.1.4

there's no stack trace that's the message, as AFAIK this is from the
compilation of the jsp page. The error.log has:

[2006/07/13 12:56:12]
/nationalsAndAgenciesPOC-1.1/jsp/filterAdverts.jsp:2:
org.xml.sax.SAXParseException: The prefix "jsp" for element "jsp:root"
is not bound.

And the second line is the core taglib reference.
It doesn't happen in windows machines....

PS: i'm getting mad with this :).

Emerson Cargnin

On 11/07/06, Scott Ferguson <[email protected]> wrote:
>
> On Jul 11, 2006, at 2:34 AM, emerson cargnin wrote:
>
> > hello? anyone there? :)
>
> Which version of Resin is this with?
>
> -- Scott
>
> >
> > 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>
> >>
> >
>
>
>