Solved

AJAX :Servlet to handle POST

Posted on 2008-06-19
6
2,703 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
Comment Utility
Does request.getParameterNames() anything?
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 250 total points
Comment Utility
Sorry, that of course should have been:

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

Assisted Solution

by:Manish
Manish earned 250 total points
Comment Utility
How you are sending parameters using post?
Can you post that portion of code?
and request.getParameter code?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 5

Author Comment

by:sam_coer
Comment Utility
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
Comment Utility
:-)
0
 
LVL 11

Expert Comment

by:Manish
Comment Utility
:)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
copyEndy  challenge 15 55
return in catch statement 1 39
count11 challenge 6 47
for i loop in grovy 1 32
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
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…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now