geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Laskowski <>
Subject PetStore issue at product.screen?product_id=x
Date Thu, 03 Nov 2005 23:31:33 GMT

I've been working on getting PetStore to work on Geronimo and 
encountered an issue I can't yet work out.

Does anyone know what the following snippet does and why it doesn't work 
on Geronimo/Jetty? When I've uncommented the code within <%-- --%>, the 
page where you can place an order works, otherwise it does not. How 
could I pinpoint the root cause?

<c:forEach var="item" items="${pageResults.list}">
   <td class="petstore_listing">
    <c:url value="/item.screen" var="viewItemURL">
     <c:param name="item_id" value="${item.itemId}"/>
    <a href='<c:out value="${viewItemURL}"/>'>
     <c:out value="${item.attribute}" />
     <c:out value="${item.productName}"/>
    <c:out value="${item.description}"/>
   <td class="petstore_listing" align="right">
    <fmt:formatNumber value="${item.listCost}" type="currency" />
    <c:url value="/" var="cartURL">
      <c:param name="action" value="purchase"/>
      <c:param name="itemId" value="${item.itemId}"/>
    <a href='<c:out value="${cartURL}"/>'>
     Add to Cart

The url to the page is 
http://localhost:8080/petstore/product.screen?product_id=FL-DSH-01. Just 
  select pets category in the Pets frame on the left and nothing will be 
printed out unless the page has been changed(for reference it's in 
by default)

That's the last visible issue with PetStore. There's another with 
LoginModule, but I don't expect it will take much time to work out.

Any help appreciated.


View raw message