Results 1 to 3 of 3
  1. #1
    pradeepht is offline Member
    Join Date
    Mar 2017
    Posts
    2
    Rep Power
    0

    Default Query parameters

    Hello,

    I use ajax from javascript to invoke one of the java command and need to pass parameters as query parameter. The issue is, we have more than 20 query parameters. Is it a better way to pass from javascritp and retrieve them as map instead of individual string parameters ?

  2. #2
    pradeepht is offline Member
    Join Date
    Mar 2017
    Posts
    2
    Rep Power
    0

    Default Query parameter

    Hello,

    I use ajax from javascript to invoke one of the java command and need to pass parameters as query parameter. The issue is, we have more than 20 query parameters. Is it a better way to pass from javascritp and retrieve them as map instead of individual string parameters ?

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: Query parameters

    POST them up as a JSON String?

    Not knowing what this is supposed to be for, that's about the best I can suggest.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Replies: 4
    Last Post: 03-06-2014, 10:46 AM
  2. query with multiple IN parameters
    By learnjava32 in forum JDBC
    Replies: 3
    Last Post: 10-09-2012, 04:44 PM
  3. Replies: 10
    Last Post: 01-24-2012, 10:02 PM
  4. Replies: 5
    Last Post: 11-21-2010, 02:08 PM
  5. problem with display of query parameters
    By anirudh4uhere in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 05-12-2010, 12:38 PM

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
  •