This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes form and html-el:form Problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "form and html-el:form Problems" Watch "form and html-el:form Problems" New topic
Author

form and html-el:form Problems

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
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?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: form and html-el:form Problems
 
It's not a secret anymore!