permaculture playing cards
The moose likes JSP and the fly likes AJAX  in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "AJAX  in JSP" Watch "AJAX  in JSP" New topic


Venkata Sirish
Ranch Hand

Joined: Apr 09, 2007
Posts: 112
I have a problem in running AJAX in JSP ...

Here " EMAIL_COMPONENT " is my web application and my default page
( configured in web.xml ) is MainPage.jsp .

Here is configuration in web.xml


when i run my application with the url ,


AJAX is not working ...

But when i explicitly hard code the url as below ...


AJAX is working perfectly ....

Can anyone help me ASAP ....

Thanks in Advance ...
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:

VenkataGuru Mitta,
Please don't post the same question multiple times.
If the answers you received in your original thread weren't satisfactory, add some follow up questions or ask for more clarification there.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
It is sorta covered in the JavaRanch Style Guide.
subject: AJAX in JSP