Instead of "hello" I print my list from the database. But this way instead of getting my previous html and the data I print in the servlet I get only what I print in the servlet.
As far as I understand ajax is used to update a part of an html page. But in this case I have to write an asp file to manage the desired output and access database via asp code. But I want to access database using java.
Thanks a lot, and please excuse my complete ignorance