Servlet data to web page
Hi,
I am working with a web page, in which I have created a form for user input. I would like to send a message to a servlet requesting database status to validate the user input prior performing some client side javascript. I just do not know how to transfer the data returned from the servlet into javascript variables. I do not want to post the data or refresh the page, just use the returned data for javascript performed validation. Any help would be appreciated.

