File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes AJAX POST Request in Jsp giving null parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "AJAX POST Request in Jsp giving null parameters" Watch "AJAX POST Request in Jsp giving null parameters" New topic
Author

AJAX POST Request in Jsp giving null parameters

Anuj Batra
Greenhorn

Joined: Sep 18, 2011
Posts: 24
hi ,
i am trying to make a post request to a jsp page using ajax by using jquery method.

in test1.jsp i am simply doing

it is showing as null even i checked in firebug the request contains the post parameters it is not coming in jsp page ?
but if i use the get method

everything seems perfect
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

Well, you never should post to a JSP page, but I can't see any reason why that shouldn't work.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AJAX POST Request in Jsp giving null parameters
 
Similar Threads
A problem in hiding a button
Calling ActionBean of Stripes using Ajax - Prototype.
dependent select boxes with ajax .
Address Book Java Issues
ArrayList/List and EL