file conversion

how can we convert our text file to an HTMl file using java /Jsp
[71 byte] By [kunwar@newgena] at [2007-11-27 6:18:06]
# 1
why dont you take the string<HTML><BODY> then append to them the text of the text file then close</BODY></HTML>
Jamwaa at 2007-7-12 17:31:47 > top of Java-index,Java Essentials,Java Programming...
# 2
<HTML><BODY><PRE>then append to them the text of the text file then close</PRE></BODY></HTML>
Michael.Nazarov@sun.coma at 2007-7-12 17:31:48 > top of Java-index,Java Essentials,Java Programming...
# 3
> <HTML>> <BODY>> <PRE>> then append to them the text of the text file then> close> </PRE>> </BODY>> </HTML>Then save the new file with a .html extension
Jamwaa at 2007-7-12 17:31:48 > top of Java-index,Java Essentials,Java Programming...
# 4
Then write us that do you mean exactly! :)
Michael.Nazarov@sun.coma at 2007-7-12 17:31:48 > top of Java-index,Java Essentials,Java Programming...
# 5
Rename the file from a .txt to a .html file
Jamwaa at 2007-7-12 17:31:48 > top of Java-index,Java Essentials,Java Programming...
# 6
It was to OP :)
Michael.Nazarov@sun.coma at 2007-7-12 17:31:48 > top of Java-index,Java Essentials,Java Programming...
# 7
lol
prob.not.sola at 2007-7-12 17:31:48 > top of Java-index,Java Essentials,Java Programming...
# 8

boss actually the main problem that i have is that i want to convert an Html file to a tiff image .

we have approximatelly 100 HTML files.

The idea that i have is that first make a text file then create a html file from them and after filling the value in the fields, it is converted into tiff.

For recognizing a text filed(name of text field is like |%value1%|,|% value 2%|....) inside a text file we r using regular expression(|%value[0-20]%|)

than by pattern matching i am going to replace that pattern by the Input tag of Html.

kunwar@newgena at 2007-7-12 17:31:48 > top of Java-index,Java Essentials,Java Programming...