Hi
Let say there are two
jsp files named A.jsp and B.jsp
At A.jsp:
<html>
<head><title>A</title></head>
<body>
<a href="B.jsp">Link to B </a>
</body>
</html>
At B.jsp:
<htlm>
<head><title>B</title></head>
<body>
<form action="viewListing.action" method="post">
<input name="my_listings" value="My Listings" type="submit">
</form>
</body>
</html>
When "Link to B" is clicked, it will direct to page B.jsp. When My Listing submit button is clicked, viewListing action will be initiated.
I would like to know is there a way to automatically initiate action viewListing without having to click the My Listings submit button?
Once the Link to B is clicked, it will call to B.jsp an automatically call viewListing.
Am not sure how JSP can do this? is that possible?
Thank you!