My head is telling me that the answer to this question is going to be NO, but hopefully i m wrong.
I have a servlet which gets redirected using RequestDispatcher to a jsp page, the jsp page has some html input fields. In the servlet i get the values from the db and can place them in a json object, and want to display those values inside the input fields. I have a javascript function that can do that by looping through a jsonObject.
The question is this, can i fire a javascript function from the servlet?