This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tag nesting error?" Watch "tag nesting error?" New topic
Author

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?
<html:html>
<HEAD>

<%@ page
language="java"

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

pageEncoding="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"
type="text/css">
<TITLE>ABC, Inc.Human Resources Portal -Employee Search</TITLE>

</HEAD>

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

<TABLE border="1">

<TR>
<TD align="right"><bean:message key="label.search.Name" />:</TD>
<td><html:text property="Name"/></td>
</TR>
<tr>
<td></td>
<td>--or--</td>
</tr>
<tr>
<td align="right"><bean:message key="label.search.ssNum"/>:</td>
<td><html:text property="ssNum"/>(xxx-xx-xxxx)</td>
</tr>
<tr>
<td><html:submit></td>
</tr>

</TBODY>
</TABLE>
</html:form>
<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:equal>
<logic:greaterThan name="size" value="0">
<TABLE border="1">
<tr>
<th>Name</th>
<th>Social Security Number</th>
</tr>
<logic:iterate id="result" name ="SearchForm" property="results">
<tr>
<td><bean:write name="result" property="name"/></td>
<td><bean:write name="result" property="ssNum"/></td>
</tr>
</logic:iterate>

</TABLE>
</logic:greaterThan>
</logic resent>
</BODY>
</html:html>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tag nesting error?
 
Similar Threads
Missing message for key
logic:present not working??????
doubt in Struts application
Error:No valid collection specified for size tag
JspTranslate: End of content reached while more parsing required: tag nesting error?.