So, to answer your question: You're not doing anything wrong, that's just how it currently works.
I don't believe Struts is emitting XHTML 1.1, but /name/ is a required attribute in the /form/ tag according to the XHTML 1.0 Transitional DTD.
----- Original Message ----- From: "Nikola Banovic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 24, 2004 5:32 PM
Subject: How to instruct Struts to output XHTML 1.1?
Hello,
I have to output an XHTML 1.1 form using Struts form tag. When I place
<html:html xhtml="true"></html> and <html:xhtml/> elements in a JSP page, a
generated XHTML page contains form element with a name attribute (which is
not supported in XHTML 1.1) and input elements without closing tags.
I use Struts 1.2.4.
Can you please let me know if I'm doing something wrong or if there is another way to accomplish this?
Thanks.
Nikola
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0443-3, 10/22/2004 Tested on: 10/24/2004 6:48:48 PM avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]