Tuesday, May 3, 2005 10:01 AM
Hey, I dont know what i understood from your question is correct or not. Anyway. If you want to read input from user and display the result, its quite easy.
From Action class
read the form bean values.
Process the results.
Set the values back to the form bean from action class.like form.set("property","value");
In jsp use tag to check the property that you set contains some value or is null .Inside that write your logic iterate. Then it would work only when that particular property contains value.
So many other tags are also there which you could use. , such and such.
If you are iterating a set of beans in your logic iterate, you could use indexed properties.
I will suggest a link for that.
If this not satisfying you, explain , with some source code, about what you really want.