Results 1 to 2 of 2
  1. #1
    ardn0001 is offline Member
    Join Date
    May 2010
    Posts
    3
    Rep Power
    0

    Default JSP-Ajax getParameterNames

    Hi I had a problem, with ajax Im importing some fields like <inputs /> from another jsp page, my problem goes when I click submit button fields are not in parameter list nor request url index.jsp?fieldnothere=data

    1. select from a "select box" an option
    2. select box onchange event will be fired, calling ajax function
    3. ajax function will bring into a <div > input fields like <input type=text> inside of a table
    4. user will fill ajax imported fields and other static fields
    5. user will clic in submit button
    6. server should display all parameter list, but is not happening using getParameterMap or getParameterNames, it only shows non-ajax fields


    What I need add or remove, or what im doing wrong?
    Thank you

  2. #2
    ardn0001 is offline Member
    Join Date
    May 2010
    Posts
    3
    Rep Power
    0

    Default solved

    All navegators were closing the from tag inmediately

    so i just put form tag outside my table, and it works now!

Similar Threads

  1. jsp + ajax
    By sysout in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-19-2010, 12:53 PM
  2. Ajax
    By mallik in forum Advanced Java
    Replies: 3
    Last Post: 11-07-2009, 04:25 PM
  3. Jsp with Ajax
    By sundarjothi in forum JavaServer Pages (JSP) and JSTL
    Replies: 16
    Last Post: 09-25-2008, 11:29 AM
  4. AJAX in JSP
    By haiforhussain in forum JavaServer Pages (JSP) and JSTL
    Replies: 8
    Last Post: 07-01-2008, 03:12 PM

Posting Permissions

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