When I try and use the standard URI the jsp errors.... indicating it can't find it.

-----Original Message-----
From: Martin Cooper [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 30, 2003 7:47 PM
To: Tag Libraries Users List
Subject: Re: forEach


On Sun, 30 Nov 2003, David Liles wrote:

> I'm having trouble getting a forEach tag to work.
>
> I'm populating an ArrayList and sending it to the jsp as a 
> request.setAttribute("invoiceList", invoiceList);
>
> Below is some of the jsp I'm tring to get working....
>
> <%@ taglib uri="/tags/core" prefix="c" %>

Is there a reason you're using this URI, rather than just using the
standard one?

>
>
> <table>
> Invoice List
> <c:forEach var="invoice" items="${invoiceList}">
> <tr>
>       <td>text</td>
> </tr>
> </c:forEach>
> </table>
>
> This is the error I'm getting:
>
> <PRE> <B>/listInvoices.do:</B> null java.lang.NullPointerException at 
> allaire.jrun.util.FlatHashtable.find(FlatHashtable.java:61) at 
> allaire.jrun.util.FlatHashtable.get(FlatHashtable.java:88) at 
> allaire.jrun.servlet.JRunServletLoader.loadClass(JRunServletLoader.java:403) at 
> java.lang.ClassLoader.loadClass(Unknown Source) at 
> allaire.jrun.servlet.JRunSE.loadClass(JRunSE.java:1408) at 
> allaire.jrun.jsp.JSPParser.action(JSPParser.java:941) at 
> allaire.jrun.jsp.JSPParser.parse(JSPParser.java:602) at 
> allaire.jrun.jsp.JSPParser.writeXML(JSPParser.java:151) at 
> allaire.jrun.jsp.JSPParser.generateXML(JSPParser.java:123) at 
> allaire.jrun.jsp.JSPParser.generateXML(JSPParser.java:67) at 
> allaire.jrun.jsp.JSPServlet.parsePage(JSPServlet.java:411) at 
> allaire.jrun.jsp.JSPServlet.createServlet(JSPServlet.java:383) at 
> allaire.jrun.jsp.JSPServlet.loadPage(JSPServlet.java:204) at 
> allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:171) at 
> allaire.jrun.servlet.JRunSE.service(JRunSE.java:1024) at 
> allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:936) at 
> allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88) at 
> org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759) 
> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596) at 
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at 
> allaire.jrun.servlet.JRunSE.service(JRunSE.java:1024) at 
> allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:936) at 
> allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88) at 
> allaire.jrun.servlet.JRunSE.service(JRunSE.java:1163) at 
> allaire.jrun.servlet.JRunSE.service(JRunSE.java:1153) at 
> allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330) at 
> allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:382) at 
> allaire.jrun.ThreadPool.run(ThreadPool.java:272) at 
> allaire.jrun.WorkerThread.run(WorkerThread.java:75) </PRE>
>
> I'm not sure what to do at this point..... I do have the jstl.jar in the web app lib 
> folder....

Do you also have standard.jar in the same location?

--
Martin Cooper


>
> Ideas?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to