I am modifying some very old code where a JSP page would call a store procedure within a page.
So I Have JSP page 1 calls store procedure 1
Page 1 would also import JSP page 2, JSP page 2 would call store procedure 2. The store procedure input parameter would depend on data returned from store procedure 1.
I have created an action for store JSP page 1 which would call down into a DAO layer.
I want to do the same for JSP page 2.
But I am not to call the action for JSP page 2.
The JSP page 1 calls JSP Page 2 directly using the tag.
What I need to do is when JSP page 1 loads JSP page 2 it will call the action for page 2 first.