V
V
Viktoria Smirnova2018-03-20 06:42:54
Java
Viktoria Smirnova, 2018-03-20 06:42:54

Refreshing a page without going to it?

Dear community members, I ask you to help me understand the following, I have a parent page index.jsp, from it I follow the link to another page, for example reg.jsp. On reg.jsp, the user registers and closes the page

window.close().
In this case, new user data should appear on the parent index.jsp page. How to do it?
response.sendRedirect(redirectURL)
will not work because it opens a new window, and I need an update in the already open index.jsp. Is this even possible? Who has any thoughts on this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question