Implement the method doGet()as follows (using Productas an example a real-world object):
List<Product> products = yourRemoteInterface.list();
request.setAttribute("products", products);
request.getRequestDispatcher("/WEB-INF/products.jsp").forward(request, response);
Deploy the JSP as follows:
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
...
<table>
<c:forEach items="${products}" var="product">
<tr>
<td>${product.name}</td>
<td>${product.description}</td>
<td>${product.price}</td>
<td><img src="${product.image}" /></td>
</tr>
</c:forEach>
</table>
web.xml url-pattern, , /products, JSP http://example.com/contextname/products.