Hi amar,
I think u have to use rs.getClob("fieldname") which
returns a Clob object and then use getSubString
(1,maxlength) on the Clob object. It returns the
substring.
it should solve the problem.
bye,
Anil Yadav
Quoting Amar Das <[EMAIL PROTECTED]>:
> The following query retruns part of DEF (clob) field
when done from oracle
> SQL*plus window. I did the same qyery from my jsp
page and tried to get
> the value. But all I get is null. Why?
>
> Select def from table_name;
>
> Now <%=rs.getString("DEF") %> returns null.
>
> Thank you
> Amar
>
>
========================================================
============
> ++ Amarjyoti Das
>
> ++ email: [EMAIL PROTECTED]
>
> ++ phone: (207) 594-3048 x 30
>
> ++ fax:(207) 594-3021
>
> ++ web: www.stgeorgeconsulting.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
>
___________________________________________________________________________
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