AJAX Tutorial - JSP call to Java Servlet using jQuery & JSON response

preview_player
Показать описание
AJAX tutorial on how to call a Java Servlet from JSP using Javascript / jQuery.
I advise that you use a robust framework like Spring REST, SpringBoot, JAX-RS etc instead of the raw servlet example.

JSON response access example.
Google Gson Java Example.

Sorry about the mic!

Don't forget to check out all my new 2016 Java, Spring Boot and Camel Videos. They are recorded with a professional microphone ! 🙂

Don't forget to Subscribe for more great tech videos
Philip
Рекомендации по теме
Комментарии
Автор

Thank you Philip. I am new to AJAX and after a lot of searching to resolve an issue your tutorial was perfect. Audio was fine, cheers.

davidgood
Автор

This is a very nice tutorial for the beginners. I was going through the stack overflow answers for this approach but couldn't get a satisfactory understanding. But after watching this and doing it simultaneously on my machine I actually understood how this whole thing works.

Thank you very much for posting this video. It was really helpful for me.

Keep posting all good tech stuff.

ompandey
Автор

Great Tutorial. Short yet detailed . Really appreciate your knowledge and presentation skills :)

xe
Автор

7:02 start js
12:02 start servlet
17:37 overview

carollim
Автор

I've been looking for something like this everywhere! Thanks!

TheFonzerelee
Автор

This tutorial is ear cancer (i know, bad mic) and from 2013..
AND STILL of all those explanations and tutorials in the internet, the only one that worked for me.
So thank you.

devilevocator
Автор

Ahhhh, finally I found what I was looking for. Thank you!

gfgdfhf
Автор

Thanks a lot, man.
I have been searcing this long time ago. and this is just what i needed.
Again, thanks a lot!
greetings from Medellín, Colombia!

Ronniefil
Автор

Dont forget to put out the washing, great drying there!! 

seanieban
Автор

Hi Phil.... 
I am following your video but at the end i don't get the same result as you do... 
My AJAX query is unable to hit the server....can u please take a look at my code? 

AjinkyaSurya
Автор

Thanks brother!! excellent tutorial!! :D 

jonhjaider
Автор

wow, you make it look so easy.... thank you...

mechanQ
Автор

Thank you for posting this tutorial...nice

chetankrishna
Автор

Thanks for posting this tutorial! Where could I get the source to download it?

mastap
Автор

IDK why mine is not calling the post method... and it wouldn't let me put breakpoints in javascripts. This video is really cool but it would be better if it includes some debugging tips.

jessica_
Автор

$.ajax is not working(not able call servlet) even if I have added jquey.js in my project. Please help me out on this.

shakuntalahanchinal
Автор

Can you show me the web.xml mapping? Coz I am not using eclipse and I have to map it manually.

milanmodi
Автор

if I just want to echo it out... do I just do something like this
PrintWriter out = response.getWriter();
out.println(map);

and change jquery dataType to html?

ohhhgggeeezzz
Автор

Great tutorial. Thanks!
But please take more care about the audio. You sound like your nose is stuffed up and the rustle noise is really annoying.

wickedvalues
Автор

hi is it possible...? get data without refresh the page in JSP when database value change ...?

amruthajayaram
welcome to shbcf.ru