- Jul 18, 2002
- 1,655
- 1
- 81
Hello,
I am trying to run Lynx (text based web browser) from the command line using a simple Java program.
If I use the -dump parameter with lynx it will convert an html file into a text file (ripping out tags and making a best effort at frame placement and what not).
If I were to run it manually from the command line "test5.txt" is the text file converted from html. When I call it using my java program, it is just a blank text file.
The commented out code was my attempt at doing it using an array because I read getRuntime().exec was friendlier with those.
I am trying to run Lynx (text based web browser) from the command line using a simple Java program.
If I use the -dump parameter with lynx it will convert an html file into a text file (ripping out tags and making a best effort at frame placement and what not).
If I were to run it manually from the command line "test5.txt" is the text file converted from html. When I call it using my java program, it is just a blank text file.
The commented out code was my attempt at doing it using an array because I read getRuntime().exec was friendlier with those.