Hi all..
I had following problem


<c:forEach var="data" items="${requestScope.List}" >
           <tr>
               <c:forEach var="datain" items="${data}" >

                   <c:choose>
                       <c:when test='${datain>0}'>
                           <c:set  value="${datain}" scope="session"
var="propertiesid"/>
                           <td><a href="edit?id=${datain}">Edit</a></td>
                       </c:when>
                       <c:otherwise>
                           <td><c:out value="${datain}" /></td>
                       </c:otherwise>
                   </c:choose>
               </c:forEach>

           </tr>

     </c:forEach>

It gives following error

An exception occured trying to convert String
"http://localhost:7003/cctc/pic1"; to type "java.lang.Long" (null)

I am having one more problem.. can i assign value came from forEach which
iterate from vector of bean to my  useBean. if yes how.

Thanks in advance


--
Cup of Java + Suger of XML = Secure WebApp

Reply via email to