I am new to Java EE. In my application, I have a HTML page containing a text area filled with some information. I also have a form for the user. Once he submits the form, I use a servlet to process the information. Finally I need to forward the Result from the servlet to the same HTML page and update it in the existing textarea. I have done creation of HTML page, submitted the form to servlet. I am now stuck on how to access the textarea in the HTML page to update my result.
I googled a lot but everywhere people forward the result of servlet to JSP page and create a fresh HTML page using "out" object.
I need to use the same textarea of my HTML page to update the result. Please help me on achieving this.
Thanks in advance.