Results 1 to 2 of 2
  1. #1
    tskarthic is offline Member
    Join Date
    Mar 2009
    Rep Power

    Default parsing and updating html file using JSP.

    Hello Friends,

    i want to design a web application which has to open a html file and append the html file which resides in the web server. This html file has one table with three columns. And it has one textfield, textarea and a submit button.

    Table like below
    |SlNo | Product Name| Description|

    If the submit button is pressed, then new row has to be appended at the end of the table. Also textfield content has to be filled in the product name, and textarea content has to be filled into description. Finally the new row has to be saved in the webserver with the same file name.

    So i need to parse the html table and find the end row. I tried it with java script. but i dont think that this approach will not save the contents into the file permanantly. So i preferred to do that with JSP.

    Kindly Help me out.


  2. #2
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Rep Power


    Make hidden divs and make that with AJAX, which will have a method for taking stuff from a bean or servlet.

Similar Threads

  1. HTML FILE parsing.
    By makpandian in forum New To Java
    Replies: 8
    Last Post: 11-02-2010, 03:00 PM
  2. html web page parsing/scraping
    By orchid in forum Advanced Java
    Replies: 3
    Last Post: 10-21-2010, 01:34 PM
  3. Error while parsing html page in java on linux
    By rdhaware in forum Advanced Java
    Replies: 1
    Last Post: 02-20-2009, 02:20 AM
  4. Parsing HTML
    By jaadu25 in forum Advanced Java
    Replies: 6
    Last Post: 07-20-2008, 06:51 PM
  5. jeditorpane help parsing html
    By asifsolkar in forum Advanced Java
    Replies: 4
    Last Post: 12-14-2007, 05:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts