jsp - JSTL Issue Closing tags must match opened tags? -


receiving title error following code, have no idea why though?

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>  <c:if test="${fn:length(art.articles.gallery) > 0}">   <div id="slidewrapper">     <c:set var="additionaljs" scope="request"/>${additionaljs}       <script language="javascript">       // global variables , arrays       var slideshowimages    = new array;       var slideshowimagealts = new array;        <c:set var="galleryarray" value="${art.articles.gallery}"/>       <c:set var="gallerylength" value="${fn:length(art.articles.gallery)}"/>        <c:foreach items="${galleryarray}" varstatus="status">          <%-- reverse order --%>         <c:set var="article" value="${galleryarray[gallerylength - status.count]}">          <c:if test="${status.first && not empty article.img.image.filename}">           <c:set var="firstslide" value="${av.imageurl}${article.img.image.relative_url}/${article.img.image.filename}"/>           <c:set var="firstalt" value="${article.img.image.alt_text}"/>         </c:if>          <c:if test="${status.count == 2 && not empty article.img.image.filename}">             <c:set var="secondslide" value="${av.imageurl}${article.img.image.relative_url}/${article.img.image.filename}"/>         </c:if>          <c:if test="${not empty article.img.image.filename}">             slideshowimages[${status.index}] = '${av.imageurl}${article.img.image.relative_url}/${article.img.image.filename}';             slideshowimagealts[${status.index}] = '${article.img.image.alt_text}';              var galleryimage${status.index} = new image();             galleryimage${status.index}.src = '${av.imageurl}${article.img.image.relative_url}/${article.img.image.filename}';         </c:if>       </c:foreach>       </script>     </c:set>     <div id="slidealt" <c:if test="${empty firstalt}" > class="transparent"</c:if>>${firstalt}</div>     <div class="slideimage" id="imagelayer1"><img src="${firstslide}" id="slideimage1" /></div>     <div class="slideimage transparent" id="imagelayer2"><img src="${secondslide}" id="slideimage2" /></div>   </div>   <div id="slidecontrols">     <c:foreach items="${art.articles.gallery}" var="article" varstatus="status">       <c:if test="${status.first}">         <a href="#" onclick="zrslideshowlogic(imagenumber - 1); return false;" id="previousbutton" class="slideprevious" title="previous">previous</a>       </c:if>       <a href="#" onclick="zrslideshowlogic(${status.index}); return false;" id="gallerypage_${status.count}" <c:if test="${status.first}">class="slidecontrolsactive"</c:if>>${status.count}</a>       <c:if test="${status.last}">         <a href="#" onclick="zrslideshowlogic(imagenumber + 1); return false;" id="nextbutton"  class="slidenext" title="next">next</a>       </c:if>     </c:foreach>     <div class="clear"></div>   </div> </c:if> 

complete error is:

processrequest - url=/dealer-locator/store-detail.jsp. exception message: .renderpage(): /includes/gallery.jsp:33: expected @ . closing tags must match opened tags. 31: galleryimage${status.index}.src = '${av.imageurl}${article.img.image.relative_url}/${article.img.image.filename}'; 32: 33: 34: 35:  

wow, forgot close this

<c:set var="article" value="${galleryarray[gallerylength - status.count]}"/>


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -