for my menu options I would like to load a dynamic list of menu options which will be 
read by the jsp file.  The java code will load a vector with the menu options like 
this:

Vector        vecMenuOpts    = new Vector();
Hashtable   htblMenuOpt     = new Hashtable();

htblMenuOpt.put( "forward", "forwardindicator" );
htblMenuOpt.put( "target", "_top" );
htblMenuOpt.put( "description", "labeltoshow" );

vecMenuOpts.add( htblMenuOpt );

... add other menu options and then write it in a bean to the session ...

The Jsp would look like this:

<logic:iterate id="menuOpt" name="vecMenuOpts">
    <html:link  
         ... here is where I need to load the forward and target >
       <bean:write name=menuOpt" property="description"/>
    </html:link>
</logic:iterate>

I would like to do this without having to use scriptlets.  Is there a way to do this?

Thanks,
Steve

Reply via email to