Try "enctype": http://struts.apache.org/userGuide/struts-html.html#form
On Thu, 14 Oct 2004 13:22:24 -0700 (PDT), Caroline Jen <[EMAIL PROTECTED]> wrote: > I have a form with a drop-down menu in it. The > drop-down menu is created using the <html-el:...> tag. > > Everything displays well this way: > <html-el:form action="/content/AddFiles"> > <html-el:select property="document"> > <html-el:option value="">-Select-</html-el:option> > <html-el:options collection="PageBeans" > property="idAndName" labelProperty="name"/> > </html-el:select> > </html-el> > > But, if I add this attribute; > ENCTYPE="multipart/form-data", in the <html-el:form > ...> tag like this: > > <html-el:form ENCTYPE="multipart/form-data" > action="/content/AddFiles"> > > I get this runtime error in the browser: > Attribute ENCTYPE invalid for tag form according to > TLD' > > If I use the <form ENCTYPE="multipart/form-data" > action="/content/AddFiles"> together with the > <html-el:select ...>, <html-el:option ...>, > <html-el:options ...> tags, I do not get runtime error > message; nonethess, the drop-down menu "cannot" be > displayed. > > What should I do? > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]