www.webdeveloper.com
Results 1 to 3 of 3

Thread: How To Pass more values from JAVASCRIPT TO JSP PAGE

  1. #1
    Join Date
    Jan 2012
    Posts
    2

    Question How To Pass more values from JAVASCRIPT TO JSP PAGE

    I am retrieving data(ids) with the help of xml and javascript from DB.
    so i can pass one id to jsp using QueryString. but i want to pass more than 50 values to JSP page how can i pass? we cant pass as query string form.
    is it possible with javascript enumerator?
    or
    any other pOssibilities?

    please help me on this.


    Thanks in advance

  2. #2
    Join Date
    Feb 2003
    Location
    Michigan, USA
    Posts
    5,755
    You could pass this info as a comma separated list of Ids so you don't run into character limits on query strings. You also might be able to do a POST request using AJAX, where the limits on data are much higher.

  3. #3
    Join Date
    Jan 2012
    Posts
    2

    Question My Code is here

    sry i have not underastand ur answer can u elaborate this.

    below is my code.


    var entities = graphManager.getEntitySet().getEntityEnumeration();

    Now i have to pass entities (string []array) values to jsp and how can i retrieve in JSP...

    just like below..
    context.showDocument('http://localhost:8086/TDV/Notes.jsp?entities='+entities,'_new');



    thanks in advance

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles