Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8318091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:50:11+00:00 2026-06-08T21:50:11+00:00

I created a simplehashmap using the accepted solution in this question: How to create

  • 0

I created a simplehashmap using the accepted solution in this question:
How to create a simple map using JavaScript/JQuery

I however need to send this var to a servlet and retrieve them onto a Java HashMap. How do I do that.

The key is a string while the value is an array, say like:

`[1,'apple,orange, banana'],[2,'apple,peach, banana']` ...

I need the keys 1,2 and the array loaded onto a Java HashMap.

I tried to post it using jquery. where selectedrows is my map

$.post(url, { id: selectedrows });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T21:50:13+00:00Added an answer on June 8, 2026 at 9:50 pm

    I creates a JSON string and then sent it via an ajax post to the servlet and build the HashMap there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Created a simple jquery-nivo-like slider using wpf and want to add an animation between
Created an Accordion side bar using jQuery 1.2.6. I cannot access newer version of
Created a phonegap application using jQuery Mobile. Everything is working great for the most
Created javascript widget. Testing on my own domain and its working fine. However when
Created a very simple HTML/CSS drop down navigation using nested unordered lists. Works great
I created a python server on port 8000 using python -m SimpleHTTPServer . When
I created a keyspace with the cassandra-cli tool, and i can use it. However
Created basic C++ DLL and exported names using Module Definition file (MyDLL.def). After compilation
Created a google map with GMap2 and put pinpoints on there that open up
Created using Sphinx 0.6.5. I know Python's documentation uses reStructuredText , but it has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.