Caused by: java.lang.ClassCastException:
com.opensymphony.xwork2.ognl.OgnlValueStack cannot be cast to
com.opensymphony.xwork2.util.ValueStack at
org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:53) at
org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:44)
at
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:48)
Samuel Lugo wrote:
I had thought of something like this before, but I didn't think "i" would be incremented in a JSTL loop (I'm fairly new to JSTL). I thought I would have to have it in a JavaScript loop. I suppose using a JSTL tag like <c:set var="i" value="${0}" /> and then incrementing it with <c:set var="i" value="${i + 1}" /> could also work. I haven't tried it though.
Mike Simmons wrote:
Orton K Randy wrote:If the left is heavier than the right, the conclusion is that the culprit is in the set we placed in the left tray(assuming we're looking for 1 ball that's heavier than the rest).
That particular conclusion only makes sense if we know, in advance, that the ball we're looking for is heavier than the rest. You're making an assumption not present in the problem statement - one I've pointed out previously in this thread.
directlyhttp://localhost:8081/NameProject/InitAction.do