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
  • 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?
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.


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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
netstat -ano | find "8000" and taskkill /f /pid 2984 3 80
ejb stateless example 2 18
maven disable workspace resolution 1 15
intellij error 2 17
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

789 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