So, I am trying to use JSP to create a set of webpages. I want to link two pages so that if the user clicks a button in one page, it will trigger an event in the other page. Is there an efficient way to do this?
I was taking a look at creating cookies and/or sessions. Any suggestions on these two methods? Thanks
Edit: The second page that is affected by the button click on the first page should already be open. I do not want a new tab to come up when I click the button on the first page. If the responding page is not open, nothing should happen.