Utilização newsfeed - The value for the useBean class attribute com.wrox.begjsp.ch2.NewsFeed is inv

0 respostas
mazinhospinter

Estou com um problema, esta dando este erro conforme informado no log..

he value for the useBean class attribute com.wrox.begjsp.ch2.NewsFeed is invalid.

<%-- 
    Document   : news
    Created on : 31/01/2008, 16:41:40
    Author     : ti_gilcimar
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <link rel=stylesheet type="text/css" href="resources/portal.css">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Weather Portal</title>
    </head>
    <body>
        <table class="mainBox" width="600">
            <tr>
                <td class="boxTitle">
                    You Get the Latest Weather!
                </td>
            </tr>
            <tr>
                <td>
                    <span class="headline">
                        <jsp:useBean id="newsfeed" class="com.wrox.begjsp.ch2.NewsFeed" scope="request">
                            <jsp:setProperty name="newsfeed" property="topic" value="weather"/>
                        </jsp:useBean>
                        <table>
                            <c:forEach items="${newsfeed.values}" var="row">
                                <tr>
                                    <td class="tableCell" width="200"> ${row.city}</td>
                                    <td>${row.temp}</td>
                                </tr>
                            </c:forEach>
                        </table>
                        
                    </span>
                </td>
            </tr>
        </table>
    </body>
</html>
Criado 1 de fevereiro de 2008
Respostas 0
Participantes 1