struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Liu <charles....@morganstanley.com>
Subject newbie question
Date Fri, 07 Feb 2003 21:58:47 GMT
Hi,
I am new to struts and I have two questions:
1. how do I break out <logic:iterate/> loop if certain condition is met?

2. I have html form like this
<form>
    <select name="actionType">
        <option value="1234">create</option>
        <option value="6789">drop</option>
    </select>
</form>
I am thinking create a Map in the form bean, "1234" as key and "create"
as value(I need both information).
I know this will work easily in Struts 1.1 beta, but I can only use
struts 1.0.2 now.
So how should I construct my bean for struts 1.0.2?

Any answer or hint is appreciated.
Thanks
Charles


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


Mime
View raw message