Win a copy of Getting started with Java on the Raspberry Pi this week in the Raspberry Pi forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

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>
 
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic