Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help: servlet to pull in 4 text files for inserting into SQL7 Tables

Status
Not open for further replies.

bundyld

Programmer
Oct 2, 2001
43
US
I am trying to have a window to choose four files of type text, and then transfer or Read in the lines of text that is already formatted by char numbers in the row. How can I have a chooser come up to open the four files at one time? Also if possible, A tutorial or source segment that I can see that reads in a line of text a specific number of characters in each row to do a INSERT INTO TABLENAME values("InputStringFromFile.txt(starts at 0 goes to 3","InputStringFromFile.txt(starts at 4 goes to 8") something of that nature. I would like to thank you in advance for any help you can provide wether it be a site that has a good tutorial specifically on that or any opensource or segments of code that could help out. I am an Object Oriented C++ developer trying out the ways of Java and JSP.

Thanks again,
LDB
 
Using the Buffered Reader is the answer for anyone else who has this problem.

Just search sun's website and you will find what you need to accomplish this.

Lance Bundy
MIS
The Commerce Group
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top