Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to insert data from a text file to the database and be able to show it in the web application

 
Mustafa Okbar
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, I am currently doing a web project called alumni and got some problem with reading the data from a text file. I have database access , person and import classes. In my import class I get one mistake. Can you help me to solve it. Thanks in advance. Bellow the code where I need to solve this problem


 
Mustafa Okbar
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The information in tex file stored like this


username: *******************************
lastname: ************************************
firstname: *****************************
email: ***************************************
password: ***************************
latitude: 50.935698
longitude: 1.330554
image: bert0000.png
school: Southampton-018, 1970 - 1974
school: Southampton-048, 1974 - 1975
school: Southampton-008, 1975 - 1977
school: Southampton-038, 1977 - 1981
school: Southampton-031, 1981 - 1985
 
Jan Cumps
Bartender
Posts: 2577
11
C++ Linux Netbeans IDE
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should never post someone's email address or account/password combination on the internet. I have removed them for you.
 
Paul Clapham
Sheriff
Pie
Posts: 20177
25
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mustafa Okbar wrote: In my import class I get one mistake. Can you help me to solve it.


We could quite likely help you to solve it, but first you have tell us what it is.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic