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

------=_Part_8337_15155611.1152793379671--