aspose 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
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: 61648
    
  67

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]
 
 
subject: AJAX POST Request in Jsp giving null parameters