File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes tag nesting error? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tag nesting error?" Watch "tag nesting error?" New topic

tag nesting error?

swati cha
Ranch Hand

Joined: Jul 04, 2006
Posts: 40
i am getting tag nesting in the following code can any one resolve it?

<%@ page

contentType="text/html; charset=ISO-8859-1"



<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="IBM WebSphere Studio">

<META http-equiv="Content-Style-Type" content="text/css">
<LINK href="theme/Master.css" rel="stylesheet"
<TITLE>ABC, Inc.Human Resources Portal -Employee Search</TITLE>


<font size="+1">
ABC, Inc.Human Resources Portal -Employee Search
</font> <br>
<hr width="100%" noshade="true">
<html:form action="/search">

<TABLE border="1">

<TD align="right"><bean:message key="" />:</TD>
<td><html:text property="Name"/></td>
<td align="right"><bean:message key=""/>:</td>
<td><html:text property="ssNum"/>(xxx-xx-xxxx)</td>

<logic resent name="SearchForm" property="results">
<hr width="100%" size="1" noshade="true">
<bean:size id="size" name="SearchForm" property="results"/>
<logic:equal name="size" value="0">
<center><font color="red"><b>No Employees Found</b></font></center>
<logic:greaterThan name="size" value="0">
<TABLE border="1">
<th>Social Security Number</th>
<logic:iterate id="result" name ="SearchForm" property="results">
<td><bean:write name="result" property="name"/></td>
<td><bean:write name="result" property="ssNum"/></td>

</logic resent>
I agree. Here's the link:
subject: tag nesting error?
It's not a secret anymore!