open and save file

hi everyone

i want to read a file and then show that file in the textarea of HTML

the problem is that when i read a file it ignores the carriage returns and tab spaces which makes the file unreadable

can anyone suggests me what can be done

i had uploaded a file. and now read it

and retain its formaating as it is.

thanks in advance

[375 byte] By [vinod.kashyapa] at [2007-10-3 6:50:16]
# 1
Are you aware of the meaning of white space in HTML and things like the line breaking tag?
BIJ001a at 2007-7-15 1:40:59 > top of Java-index,Core,Core APIs...
# 2
Check the attributes of the <textarea> tag. You can use wrap="no" or wrap="virtual" or wrap="hard" to define how the text area handles carriage returns.Brian
brian@cubik.caa at 2007-7-15 1:40:59 > top of Java-index,Core,Core APIs...