Hi, 
Sorry for my ignorance but could some one tell me how to access java
variable within jsp from struts tag blocks. See the sample code below (say,
from test.jsp)

...
<%
        boolean goAhead = true;
        int counter = 0;

%>
        <s:if test="goAhead">
                ... <!-- go a head and do something -->
        </s:if>                                 
        <s:if test="counter>0">
                ... <!-- go a head and do something -->
        </s:if>                                 
...

The reference of goAhead and counter is wrong. What should be the correct
way in this scenario?

Many thanks in advance,

Qunhuan                         




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to