WebDirectorHelper.jsp.

Power Java
Techniques for Optimizing Web Site Development and Runtime Characteristics

Christopher A. Fregly
Listing 6. WebDirectorHelper.jsp.


<%@ page import = "NavigationFacility" %>

<%
NavigationFacility nav = NavigationFacility.getInstance();
%>
<HTML>

<HEAD>

<SCRIPT>
function show( sceneStage, sceneURL ){
	top.frames[ sceneStage ].document.location = sceneURL;
}
</SCRIPT>

</HEAD>
<BODY>

<SCRIPT>
show( '<%= nav.getNextScene().getStage() %>', '<%= nav.getNextScene().getURL() %>' );
</SCRIPT>

</BODY>
</HTML>

About the Author

Christopher A. Fregly is Senior Cunsultant for BEA Systems Inc. in Chicago. He can be contacted at chris@fregly.