Hello, I am new to web development.
I have a page file1.jsp with a form, the submitted data is handled in file2.jsp, and I want to show the answer in the same page, file1.jsp.
After the data be handled in file2.jsp, I want to reload file1.jsp and show the answer.
In file2.jsp, I tried to use response.sendRedirect(), but it does not include parameters or POST data, and I need to send the answer.
I cannot use GET and Ajax.