Olá galera!
Preciso de ajuda!
Estou usando Netbeans com Apache e está acontecendo o seguinte:
Criei uma JSP com o nome Listagem.jsp com o código abaixo:
<%@page contentType=“text/html”%>
<%@page pageEncoding=“UTF-8”%>
<%@
include file=“ServerConfiguration.jsp”
%>
<%@
page import=“org.firebirdsql.jdbc.,org.firebirdsql.logging.Logger,java.sql.”
%>
<%
Class.forName(“org.firebirdsql.jdbc.FBDriver”);
Connection aConnection = DriverManager.getConnection( DataBaseAddr,
UserName, Password);
Statement stmt = aConnection.createStatement();
String SQL=“SELECT * TB_USUARIO “;
SQL=SQL+ “ORDER BY NOMEUSUARIO”;
ResultSet aQuery = stmt.executeQuery(SQL);
%>
<html>
<body bgcolor=”#E0E0E0”>
<table>
<tr><td>“ID USUARIO”</td><td>“LOGIN DO USUARIO”</td><td>“NOME DO USUARIO”</td></tr>
<%
while (aQuery.next())
{
%>
<tr>
<td><%= aQuery.getString(“IDUSUARIO”) %></td>
<td><%= aQuery.getString(“LOGIN”) %></td>
<td><%= aQuery.getString(“NOMEUSUARIO”) %></td>
</tr>
<%
}
%>
</table>
<%
aQuery.close();
stmt.close();
aConnection.close();
%>
</body>
</html>
Compila certinho e não dá nem um errinho
Mas, quando tento exibir no Brawse aparece no brewse o seguinte erro:
HTTP Status 500 -
type Status report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
Apache Tomcat/6.0.13