jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases and the fly likes How to  insert data from a text file to the database and be able to show it in the web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "How to  insert data from a text file to the database and be able to show it in the web application" Watch "How to  insert data from a text file to the database and be able to show it in the web application" New topic
Author

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

Mustafa Okbar
Greenhorn

Joined: Apr 04, 2011
Posts: 13
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

Joined: Apr 04, 2011
Posts: 13
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

Joined: Dec 20, 2006
Posts: 2543
    
  10

You should never post someone's email address or account/password combination on the internet. I have removed them for you.

OCUP UML fundamental and ITIL foundation
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19728
    
  10

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.
 
Have you checked out Aspose?
 
subject: How to insert data from a text file to the database and be able to show it in the web application
 
It's not a secret anymore!