Solved

AJAX :Servlet to handle POST

Posted on 2008-06-19
6
2,708 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
[X]
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
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JavaFX TableView not displaying correctly 3 109
maven disable workspace resolution 1 42
add projects t working set in maven 2 44
batch vs regular insert in spring DAO 2 25
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
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…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

726 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