Reputation: 1721
I am very new in Ejb-JSP and with very few knowledge about it.I am already created a JSP page which invokes controller Servlet and the servlet invokes EJB. Structure is Like JSP -> Servlet -> EJB(returns result) -> Servlet -> output. Now, I want to include a new JSP page which invokes our old JSP page means we want, New JSP -> JSP -> Servlet -> EJB(returns result) -> Servlet -> output structure. Can anybody help me, how can I call our old JSP page from new JSP page. Thanks in advace.
Upvotes: 2
Views: 338
Reputation: 94653
You may use JSP action <jsp:forward>
and <jsp:include>
in JSP page.
<jsp:forward page="/main.jsp" />
Bookmark or download Java EE Tutorials - Java EE 5 and Java EE6
Upvotes: 3