Hi,

I am trying to use select and options tags in the simplest way where I have an ArrayList of Strings in the request (Logs) and I wish the one selected to end up in the form's logName variable.
According to page 296 of Struts in action I think this should work:


<html:select property="logName">
 <html:options collection="Logs" />
</html:select>

but I get:

[ServletException in:/selectLog.jsp] No name specified' java.lang.IllegalArgumentException: No name specified at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:721) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:801) at

etc

Thanks,
Andy

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to