i have a page say test.jsp
It has some href links which redirect to the same page with some unique attributes depending on the link
Now depending on the link clicked the page will be reloaded(as it redirects to itself) with new data. Now i want to take an attribbute from what user clicked on test.jsp and use it to open a new page in new tab when the test.jsp reloads.
i have test.jsp with two hyperlinks
one is test.jsp?id=1
and other is test.jps?id=2
Now when user clicks on first hyperlink,
i need to take that value (1) and process (say i got lorem1.jsp after i process it) it and use it to open lorem1.jsp once test.jsp finishes refreshing.