Because you can't have "overlapping" elements like you have in your example. It is not well-formed.
> -----Original Message----- > From: Oliver Pfau [mailto:[EMAIL PROTECTED] > > Hi, > > I get an exception from tomcat 5.0.19 in the that the > html-tag is not balanced at the following code: > > <logic:present name="useframes"> > <html:html> > <head> > <title><bean:message key="content1.title"/></title> > </head> > <body bgcolor="white"> > </logic:present> > > <h2><bean:message > key="content1.title"/></h2> <!-- > CONTENT --> > > <logic:present name="useframes"> > </body> > </html:html> > </logic:present> > > > ...the useframes- bean triggers when it is present to use > frames at the ui...when not the code should mapped into a > table. The table- mode is for the usage as a portlet. > Therefore the html, body, > head- tags have to be suppressed.... > why this isn't accepted by tomcat ?? > > thanks... > Oliver > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]