JSP with AJAX

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MarySandoval
    New Member
    • Jan 2007
    • 4

    JSP with AJAX

    Hi, I'm very sorry if i posted here, I don't know the correct forum...
    Here is my question, how can I update a table in JSP (using a display:tag table) using AJAX? I deleted a row, now, i wanted to bring a new list to the table from the database...

    Thx in advance...
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by MarySandoval
    Hi, I'm very sorry if i posted here, I don't know the correct forum...
    Here is my question, how can I update a table in JSP (using a display:tag table) using AJAX? I deleted a row, now, i wanted to bring a new list to the table from the database...

    Thx in advance...
    I'll copy this to the Ajax forum.

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Originally posted by MarySandoval
      Hi, I'm very sorry if i posted here, I don't know the correct forum...
      Here is my question, how can I update a table in JSP (using a display:tag table) using AJAX? I deleted a row, now, i wanted to bring a new list to the table from the database...

      Thx in advance...
      I don't know about JSP, you'll have to get your answer in the Java forum for that, but for the client-side AJAX, read through this tutorial first and see if you have any problems. They use ASP as an example, but you can use any server-side language. See this page in particular to get you started. In your JSP, you need to output some text which you can deal with in AJAX with the XmlHttpRequest object's responseText variable.

      Comment

      • MarySandoval
        New Member
        • Jan 2007
        • 4

        #4
        I already now how to use the ajax capabilities, but i dont know how I can update the display table... thanks for the reply

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          You could use AjaxTags to work with displayTag.

          Comment

          Working...