Re: Error in unix machiones with taglib
"Siarhei Dudzin" <[email protected]> Thu, 13 Jul 2006 14:22:59 +0200
| Newsgroups | gmane.text.xml.resin.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_8337_15155611.1152793379671 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Did you try to use apache parsers? Sergei On 7/13/06, emerson cargnin <[email protected]> wrote: > > 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> > > >> > > > > > > > > > > > ------=_Part_8337_15155611.1152793379671 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Did you try to use apache parsers?<br><br>Sergei<br><br><div><span class="gmail_quote">On 7/13/06, <b class="gmail_sendername">emerson cargnin</b> <<a href="mailto:[email protected]">[email protected]</a> > wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">version is 2.1.4<br><br>there's no stack trace that's the message, as AFAIK this is from the <br>compilation of the jsp page. The error.log has:<br><br>[2006/07/13 12:56:12]<br>/nationalsAndAgenciesPOC-1.1/jsp/filterAdverts.jsp:2:<br>org.xml.sax.SAXParseException: The prefix "jsp" for element "jsp:root" <br>is not bound.<br><br>And the second line is the core taglib reference.<br>It doesn't happen in windows machines....<br><br>PS: i'm getting mad with this :).<br><br>Emerson Cargnin<br><br>On 11/07/06, Scott Ferguson < <a href="mailto:[email protected]">[email protected]</a>> wrote:<br>><br>> On Jul 11, 2006, at 2:34 AM, emerson cargnin wrote:<br>><br>> > hello? anyone there? :)<br>><br>> Which version of Resin is this with? <br>><br>> -- Scott<br>><br>> ><br>> > On 10/07/06, emerson cargnin <<a href="mailto:[email protected]">[email protected]</a>> wrote:<br>> >> I get error when trying to access the JSP page i put below: <br>> >><br>> >> /nationalsAndAgenciesPOC-1.1/jsp/filterAdverts.jsp:2:<br>> >> org.xml.sax.SAXParseException:<br>> >> The prefix "jsp" for element "jsp:root" is not bound. <br>> >><br>> >> The second line is the core taglib reference. No jsp:root there....<br>> >><br>> >><br>> >> JSP page:<br>> >><br>> >> <%@ taglib uri="/WEB-INF/struts- html.tld" prefix="html" %><br>> >> <%@ taglib uri="/WEB-INF/c.tld" prefix="c"%><br>> >> <html:html locale="true"><br>> >> <head> <br>> >> <title>Filter Adverts</title><br>> >> </head><br>> >> <body bgcolor="white"><br>> >> <jsp:include page="/header.do"/><br>> >> <% <br>> >> int totalAdverts =<br>> >> ((Integer)request.getAttribute("advertResultSize")).intValue();<br>> >> String userName = (String)request.getAttribute("userName");<br> > >> %><br>> >> <h2><%=userName%></h2><br>> >> <br/><br>> >> <% if (totalAdverts <= 0) {<br>> >> %><br>> >> <h1> Your adverts </h1> <br>> >> <br/><br>> >> <div style="color:#FF0000;"><br>> >> There is currently no advertising for <b>Client Name</b><br>> >> <br><br>> >> To view historical information, go to Order history or Accounts & <br>> >> billing<br>> >> </div><br>> >> <% } else {<br>> >> %><br>> >> <%@ include file="/jsp/filterAdvertsCriteria.jsp"%><br>> >> <br> <br>> >> <br><br>> >> <jsp:include page="/filterAdvertResults.do"/><br>> >> <% }<br>> >> %><br>> >> <br><br>> >> <br><br>> >> <a href="/echannel/service/productlist.do?servicePage=myAdverts">Back <br>> >> to Yell products</a><br>> >> <jsp:include page="/footer.do"/><br>> >> </body><br>> >> </html:html><br>> >><br>> ><br>><br>> <br>><br><br></blockquote></div><br> ------=_Part_8337_15155611.1152793379671--