I have a menu link M1 ( action url) .
when user clicks on this link , it shows a JSP page ....say A.jsp
However , user can come to this same A.jsp page from other link (action url) as well.
Now my problem is , I want to hide a div element in A.jsp whenever user comes to this A.jsp page by clicking M1 link.
I am stuck right here.....because I am unable to detect whether user is coming to this A.jsp page via clicking M1 link or through clicking other link.