• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

tag nesting error?

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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>
 
Look ma! I'm selling my stuff!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic