Easiest thing is to have a propery in your ActionForm that tests whether
the combo box is empty or not. Then in your jsp you'll need to surround
the select/option tags with a logic tag of some kind, like
<logic:equal name="form" property="comboEmpty" value="false">
...
</logic:equal>
----- Original Message -----
From: "Alex Colic" <[EMAIL PROTECTED]>
To: "Struts" <[EMAIL PROTECTED]>
Sent: Wednesday, June 06, 2001 4:49 PM
Subject: viewing combo box
> Hi,
>
> lets say you have a combo box filling from a vector. I can get this to
work
> but I don't want the combo box to show if there are no options in it.
In
> other words if the vector=0. What the best way to do this.
>
> Thanks for the help.
>
> Alex
>