Felipe Schnack wrote:
  It was that!
  what is this runtime taglib??
The RT libraries support Java expressions instead of EL expressions,
e.g. '<= request.getParameter("foo") %> instead of "${param.foo}".
But seriously, you can avoid a lot of problems by reading a bit
about JSTL before you use it. Sun's JSTL pages has lots of resources:

  <http://java.sun.com/products/jsp/jstl/>

Hans

On Mon, 2003-02-10 at 18:55, Hans Bergsten wrote:

Felipe Schnack wrote:

 I must have a serious problem here... I can't make this work:

<c:forEach begin="1" end="20" var="i">
 <c:out value="${i}" />
</c:forEach>


 It simply prints "{$i}" 20 times
It looks like you're using the RT library, not the EL library.
Check your taglib directive. You should use the uri
"http://java.sun.com/jstl/core"; for the EL library.

Hans
--
Hans Bergsten                                <[EMAIL PROTECTED]>
Gefion Software                       <http://www.gefionsoftware.com/>
Author of O'Reilly's "JavaServer Pages", covering JSP 1.2 and JSTL 1.0
Details at                                    <http://TheJSPBook.com/>


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



--
Hans Bergsten                                <[EMAIL PROTECTED]>
Gefion Software                       <http://www.gefionsoftware.com/>
Author of O'Reilly's "JavaServer Pages", covering JSP 1.2 and JSTL 1.0
Details at                                    <http://TheJSPBook.com/>


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

Reply via email to