This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Java code for retrieving field from DB


Hi,

This list might not be the correct one for this question.  I hope someone might have experieced similar problem.  Pls help me ....

The descTest field in the database consists of this text:  <br>test
I am using these java codes to retrieve this field :
qry2 = "SELECT descTest from testtable where descId="+descId;
                rsa = stmt.executeQuery(qry2);
                if(rsa != null){while(rsa.next()){
                   description=rsa.getString(1);                
                }}

the result I am getting for description is:  <br;>test

I am sure there is a way to retrieve descTest as <br>test.  I would appreciate anyone's help!

Thank you
Norm


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]