|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I have some problems reading and writing to a UNIX .txt file. This file contains data as below delimited by some character. For example, the delimiter is "," 123,AIRCONDITIONER,456,UITG67,6868686UIK, Suitable for 2-Storey house I need to extract the data and display them on a JSP page in a table format according to the delimiter. After which I need to write the data to another new .txt file. Does anyone have any idea on how this can be done?? Thanks... |
|
#2
|
|||
|
|||
|
Take a look at FileInputStream, FileOutputStream, and StringTokenizer.
|
|
#3
|
|||
|
|||
|
Good suggestions! Also take a look at Iterators
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Reading from .txt file using JSP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|