Ok, exactly what I have is this, and I am trying to achive the same thing without reload index.jsp (with jQuery):
servlet:
index.jsp:
nad POJO class Article with properties codeId, name and urlImage (and getters and setters)
Everythig work great but with reloading the page, what is the raeson I can not do jquery efects, and I want to make the same post request with ajax jquery; to get the list of articles from database.
So how my servlet and jquery/ajax post now must look like?
I have done ajax request with posting id, and servlet can get it, but I dont know how to handle reponse (for jstl tags)
index.jsp
servlet
Thanks,
Marko