Reply To: AJAX not working with URL rewritten page

Splash Forums Rewrite Users AJAX not working with URL rewritten page Reply To: AJAX not working with URL rewritten page

#25252

The problem is that you are getting a 404 when sending the request to your server. So I guess the URL is not correct.

Is /TechTalk/newjsp/newserv the correct URL? Please note that if you rewrite the URL of your JSP and then use relative URLs for the AJAX request you may run into problems.

I recommend to use absolute URLs instead. So instead of:

$.post(“myservlet”)

You should use:

$.post(“/TechTalk/myservlet”)