You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Philip Tucker <ph...@valtech.com> on 2001/07/21 03:39:06 UTC

accessing user-defined classes from html:select and html:options tags

I'm using Struts 1.0 with Tomcat 3.2.2 and JBoss 2.2.2.  I'm using an
<hrml:select> containing an <html:options> tag in a JSP, with the property
attributes referring to form and bean fields.  It works fine when the Java
class of the 2 bean properties is String, but when I try to use class I
created I get an error.  I've verified my .class file is in the deployment
WAR file.

Do I have to do something special to use my own class?  Do I need an import
statement in the JSP?

Thanks,
Philip