Solved

AJAX :Servlet to handle POST

Posted on 2008-06-19
6
2,706 Views
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
0
Comment
Question by:sam_coer
  • 3
  • 2
6 Comments
 
LVL 86

Expert Comment

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

Accepted Solution

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

Does request.getParameterNames() return anything?
0
 
LVL 11

Assisted Solution

by:Manish
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?
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 5

Author Comment

by:sam_coer
ID: 22007852
Hi,
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

Thanks
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 22008091
:-)
0
 
LVL 11

Expert Comment

by:Manish
ID: 22013462
:)
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
micro services vs rest web services 16 107
Spring Framework HTTPSession management 1 36
eclipse buid path vs tomcat lib path 10 24
String array comparison 4 34
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

803 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