Discussion Locked

Diff utility In Java for Web

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
I would like to display the difference between the content entered in the Text area of the Html or 2 files uploaded, I would like to know if there is a tool or someone has worked on a similiar line.The solution should be using Java.I want to display the diff in an HTML Page no applets are allowed.

1 reply

by mwe

Hello,
the CGI-Script "hd" that can be found at
ftp://ftp.linux-magazin.de/pub/listings/magazin/2002/05/Perl/
is that what you are searching for.
It is written by mschilli@perlmeister.com.
If you wanted a Java-solution open both files
through a PipedInputStream and use
java.util.StringTokenizer.

This discussion is closed to new replies.