AJAX :Servlet to handle POST

Posted on 2008-06-19
Last Modified: 2013-11-24
Hi can someone tell me servlet code to get parameter from a POST request done by AJAX. Please do not say to directly use request.getParameter() as it is not working.

A humble request is that plz new ppl without experience do not reply if u dont know and let the question escalated by EE to experienced experts
Question by:sam_coer
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 86

Expert Comment

ID: 21821267
Does request.getParameterNames() anything?
LVL 86

Accepted Solution

CEHJ earned 250 total points
ID: 21821273
Sorry, that of course should have been:

Does request.getParameterNames() return anything?
LVL 11

Assisted Solution

Manish earned 250 total points
ID: 21845239
How you are sending parameters using post?
Can you post that portion of code?
and request.getParameter code?
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users


Author Comment

ID: 22007852
Sorry for troubling experts.
The problem was there within the code in sending the request.
As few experts showed will to help, I am distributing points evenly

LVL 86

Expert Comment

ID: 22008091
LVL 11

Expert Comment

ID: 22013462

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to implement Singleton Design Pattern in Java.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question