omaiaa0p 0 Light Poster

Hello Everybody,

The good news is, I got the ajax jquery to work fine :)

The problem is, I cant get top.location to work right after the ajax call.

$.post('ajax/test.html', function(data) {
  $('.result').html(data);
});

In that piece of code, how do I send (data) from my servlet? Is it in the form of out.print or is it in the form of out.write?

Also, how can I successfuly redirect? It wont let me :(

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.