2015-04-07 192 views
-5

我遇到了NetBeans的一些小問題,我不知道爲什麼。我沒有使用它一兩個星期,但我今天去使用我的web應用程序,並遇到了很多上次沒有使用過的錯誤。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

這些錯誤是?請閱讀http://stackoverflow.com/help/how-to-ask – reto

+0

它也表明所有的標籤都是「流浪」,即使有明確的兩件事情。 – JamesB

+0

您需要至少發佈錯誤摘要,最有可能的是堆棧跟蹤,以便我們看到錯誤是什麼 – holtc

回答

0

錯誤在於數據庫表模式已被修改,並且該字段不再位於數據庫中。

+0

Sorted it!謝謝! – JamesB

相關問題