File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

form and html-el:form Problems

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

But, if I add this attribute; ENCTYPE="multipart/form-data", in the <html-el:form ...> tag like this:

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 ption ...>, <html-el ptions ...> tags, I do not get runtime error message; nonethess, the drop-down menu "cannot" be displayed.

What should I do?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic