hi all,
i am persistently getting the above-mentioned runtime error and at wit's end.
This code is designed to get parameters from a html form,
read data from two databases,
and output to an xml file.
Read Error:
String index out of range: -1
For every 'customer' there are usually 3 addresses. It gets
stuck while reading the address table on the second itiration. I believe this is where this error is generated.
what am i doing wrong?
========*************====
[JUST WANTED TO TELL PEOPLE THAT I FIGURED IT OUT BY SLOW TRIAL AND ERROR. THE PROBLEM WAS SOME DATA MASSAGING WHERE I WAS TRYING TO TAKE OUT EXTRANEOUS DATA. MORE ON THAT IN THE
JAVA GENERAL PAGE.]
=========
this is the code fragment where i think the error is occurring.
===================
the complete code is at:
http://y42.briefcase.yahoo.com/bc/jaybrown99/vwp2?.to k=bcMoy56A6cBKBmDZ&.dir=/Public&.dnm=custXMLwriter.java.java&.src=bc ===================
thanks, in advance, for your help.
jay
[This message has been edited by Jay Brown (edited March 26, 2001).]
[This message has been edited by Jay Brown (edited March 26, 2001).]