Search:

Type: Posts; User: JavaPF

Search: Search took 0.14 seconds.

  1. Re: How to write to specific part of an html file using java

    Yes please attach your code. You can stop the over write by doing this:



    import java.io.*;

    public class WriteFile {

    public static void main(String[] args) throws IOException {
  2. Re: How to write to specific part of an html file using java

    It's pretty easy.. It's just a matter of reading the HTML file in, and writing it out again with the extra code.

    Please post the code you wish to add to the HTML file. I will write you a quick...
  3. Re: How to write to specific part of an html file using java

    Well you will need to identify where abouts in the HTML you wish to insert the extra code.

    How else will the program know where to look?

    If you want to add the code at the start or the end of...
  4. Re: How to write to specific part of an html file using java

    Hello nasi,

    Does the specific part of the file always stay the same?

    Please post an example of the HTML file and show me where you would like to insert the code.
Results 1 to 4 of 4