JDBC/JSP: Strange Problem

Поиск
Список
Период
Сортировка
Искать
От
Scott Street
Тема
JDBC/JSP: Strange Problem
Дата
Msg-id
004c01c17aee$b78cd5f0$15fea8c0@driftwood
Список
Дерево обсуждения
Re: JDBC/JSP: Strange Problem Jens Carlberg <jenca@lysator.liu.se>
Hi folks,  new to the list and PostgreSQL -- In the process of converting
all of my MySql programs to Postgres.

I have run into a strange problem I can't resolve,  I narrowed the problem
down to a small snippet of code below.

The code compiles and runs,  I see the select all * from messages execute
and the data is returned via the network, however, the jsp only outputs the
LAST record returned.   Can't figure it out -- anyone else hit this?

BTW:  Tomcat 3.3, Java 1.3.1, PostgreSQL 7.1.3 with JDBC 7.1-1.2.jar

(jsp code --- cut here ---)

<%@page contentType="text/html"%>

JSP Page
<%@taglib uri="/WEB-INF/lib/dbtags.jar" prefix="jdbc" %>
<%@taglib uri="/WEB-INF/lib/ietags.jar" prefix="pr" %>

Message Listing from Dataserver

select all * from messages
MsgId fromUser toUser Subject Flags Text
В списке pgsql-jdbc по дате отправления
От: Barry Lind
Дата:
От: Craig Lawton
Дата:
Сообщение: java.lang.AbstractMethodError
FAQ