<html>
<head><title>Selected News Headlines</title></head>
<body>
<center><h2>News From The Moreover Newsfeed</h2></center>
<%@ page language="java" import="com.XmlEcomBook.Chap09.*" %>
<jsp:useBean id="thenews" scope="session" 
  class="com.XmlEcomBook.Chap09.NetNewsBean" />
<%! String fmt = "<p><a href=\"<%url>\" ><%headline_text></a>" +
    "   from <%source></p>" ; %> 
<hr>
<h3>News Updated <%= thenews.getDocDate() %></h3><br />
<center><table width="90%" cellpadding="2" cellspacing="6" cols="3" >
<thead><tr><th>Java News</th><th>XML News</td>
    <th>Web Developer News</th></tr></thead>
<tr valign="top" align="left" >    
<td><%= thenews.getContentByTopic("Java news", fmt)  %></td>
<td><%= thenews.getContentByTopic("XML and metadata news", fmt)  %></td>
<td><%= thenews.getContentByTopic("Web developer news", fmt)  %></td>
</tr>
</table></center>
</body>
</html>