Hello:
Them greeting sincerely and I am thankful to
them by its aid to the progress of the towns.
I speak ingles very little.I am going to write
using a translator.
My problem is the following one: I cannot
show in the Browser a file of imagen(jpg),
consulted to the BD.
I must mention that I am using RedHat7.1
with its respective jdbc to 7.0.*.jar,
PostgreSQL7.0, JSDK2.1, jdk1.3.1,
Netscape4.76.
I have entered the image to the BD from
servlet without having problems, but when I
have wanted to consult it and to show it
when browser with my servlet, I obtain
problems such as: FastPath call returned
ERROR: lo_read:invalid large obj description
(0) " [... and other similarities when use the
other methods that do not work ] when I
put: bufer=lobj.read(R) or also when use to
lobj.read(bufer, 0, R) in my
MuestraFoto.java. In addition size(), tell(),
close(), seek() do not work the methods
either.
I have proven using like alternative the
native metodos of pgsql lo_export to export
it to a directory and from ahi to show it
when browser.
Which is an alternative but the reason of
being of jdbc remains of side and the
independence of layers.
I have tried to use the metodos for Blob
(getBlob() others), but they have not
worked, I realize that are not supported by
jdbc7.0.*.jar that they come with postgrsql.
I reiterate my gratefulness to them by its
attention and wait for its quick answer, to
surpass the problems that I have at the
moment, the truth that I am something
desperate.
!! Thanks !!
=============================================
***************************
JAIME ARTURO VARGAS PEREYRA
PIURA - PERU
***************************
Tu correo gratis en MixMail http://www.mixmail.com
Mete 15.000 amigos en tu casa http://chat.ya.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html