aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Problem with ajax implementation using Jquery 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 » Engineering » HTML, CSS and JavaScript
Bookmark "Problem with ajax implementation using Jquery" Watch "Problem with ajax implementation using Jquery" New topic
Author

Problem with ajax implementation using Jquery

kranthi chamarthi
Ranch Hand

Joined: May 08, 2007
Posts: 95
I am new to jquery. I am trying to implement ajax using Jquery. Following is my javascript code.

When i click on the button its giving me the alert popup with membername enterd but somehow the request is not passing to the servlet. Following is the servlet mapping in web.xml

Following is the servlet code

Please suggest me what can be the problem.
Thanks
Kranthi
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
USe a tool like Fiddler or Firebug and watch the XMLHttpRequest. Doe it go out? What status code does it return?

Eric
kranthi chamarthi
Ranch Hand

Joined: May 08, 2007
Posts: 95
I modified

to

and it worked.
Thanks
Kranthi
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

Yes, using a valid URL is required.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with ajax implementation using Jquery
 
Similar Threads
servlet not being called from html
javax. servlet.Servlet Exception: Initialization failed, Unable to get DB connection
Problem with the ajax app
JSP not able to find the servlet
How do I use a <c:out ...> tag in my <input ...> tag?