You normally just use servlet / JSTL / EL. Just map a servlet on the desired URL, implement doGet() to load the list and set it in the request scope, use JSTL/EL in JSP to display the list.
I would highly recommend to start with the latter. Save yourself from effort, trouble and pain.
Btw, can you recommend a book on JQuery? To be honest, it's the first time i heard this term.
A book is 'jQuery in Action' written by under each Bear Bibeault who walks around at those forums as well.
I second Bauke's recommendation. Most experienced Ajax developers will advise you to adopt a library rather than try to write "raw" Ajax code. There are browser differences and subtleties that the libraries handle on your behalf that are a pain in the keester to deal with on your own.
Bauke Scholtz wrote:You normally just use servlet / JSTL / EL. Just map a servlet on the desired URL, implement doGet() to load the list and set it in the request scope, use JSTL/EL in JSP to display the list.
How do I do that? I mean, if I map a servlet on "page.jsp" but i also have a jsp called "page.jsp" don't i get an exception? What am i missing?
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop