I have created a new Portal application with two JSPDynpages.
The first page is PageOne.jsp with JSPDynPage PageOne.java
The second page is PageTwo.jsp with JSPDynPage PageTwo.java
Please see the code:
PageOne.jsp
<%@ taglib uri="tagLib" prefix="hbj" %>
<jsp:useBean id="myBean" scope="request" class="com.capgemini.clx.pdm.vg.PageOneBean" />
<hbj:content id="myContext" >
<hbj:page title="PageTitle">
<hbj:form id="myFormId" >
<h3>This is page one</h3>
<hbj:button
id="GoBut"
text="Go to Next"
onClick="go_Next"
disabled="false"
design="STANDARD"
/>
</hbj:form>
</hbj:page>
</hbj:content>
PageTwo.jsp
<jsp:useBean id="myBean" scope="request" class="com.capgemini.clx.pdm.vg.PageTwoBean" />
<hbj:content id="myContext" >
<hbj:page title="PageTitle">
<hbj:form id="myFormId" >
<h3>This is page two</h3>
</hbj:form>
</hbj:page>
</hbj:content>