NetBeans错误。不知道为什么

时间:2015-04-07 13:07:02

标签: java netbeans

我对NetBeans有一点问题,我不知道为什么。我没有使用它一两个星期,但我今天去使用我的网络应用程序,我遇到了很多错误,这是我上次使用它时没有出现的错误。

<sql:query var="words" dataSource="jdbc/onlinedictionary">
    SELECT word_id, words FROM Words
</sql:query>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>

<html> 
<link rel="stylesheet" type="text/css" href="style.css">


    <body>

        <h1 align="center">Hello and welcome to my Online English Dictionary</h1>


    <thead>
                <tr>
                    <th>This Online English Dictionary uses a 5,000 word list
                        compiled by Professor Mark Davies of Brigham Young University
                        in Provo, Utah.</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>To view a definition of a particular word, please select
                        from the list below.</td>
                </tr>
                <tr>
                    <td>
                        <form action="submit.jsp">
                            <strong>Select a word:</strong>
                            <select name="word_id">
                                <c:forEach var="row" items="${words.rowsByIndex}">
                                    <option><c:out value="${row[1]}"/></option>
                                </c:forEach>
                            </select>
                            <input type="submit" value="submit" name="submit" />
                        </form>
                    </td>
                </tr>
            </tbody>
    </body>
</html>

1 个答案:

答案 0 :(得分:0)

错误是db表架构已被修改,并且该字段不再位于db中。