Hi Christ, et. al
Thanks here we go. It still seems there is something stopping the jsp
processing on TC, after the first time. Yes, I know how foolish that sounds,
sorry nonplused at this moment.
action
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) {
ccAuth13_genericForm_FBO_dwr fb00 = (
ccAuth13_genericForm_FBO_dwr) form;
HttpSession session = request.getSession();
String desiredReport = fb00.getType();
if (desiredReport.equals("a")) {
fb00.setFramesetPage("/ccAuth15_PO_all_fragment.jsp");
fb00.setFrameTitle("ccAuth15_PO_All");
session.removeAttribute("fb00");
session.setAttribute("fb00", fb00);
//return mapping.findForward("PO_01");
return mapping.findForward("defaultReport"); //tiles defs
}
if (desiredReport.equals("posSO")) {
fb00.setFramesetPage("/ccAuth15_soDetail_fragment.jsp");
fb00.setFrameTitle("posSO-generic");
session.removeAttribute("fb00");
session.setAttribute("fb00", fb00);
//return mapping.findForward("PO_01");
return mapping.findForward("posSO"); //tiles defs
tiles-defs
<?xml version="1.0" encoding="UTF-8"?>
http://jakarta.apache.org/struts/dtds/tiles-config_1_3.dtd">
<tiles-definitions>
<definition name="defaultReport" path="/ccAuth15_template00.jsp">
<put name="title" value="defaultReport"></put>
<put name="banner" value="/dynamicBanner.jsp"></put>
<put name="report" value="/ccAuth15_PO_all_fragment.jsp"></put>
<put name="applet" value="/ccAuth13_applet_fragment.jsp"></put>
</definition>
<definition extends="defaultReport" name="posSO">
<put name="title" value="soDetail"></put>
<put name="report" value="/ccAuth15_soDetail_fragment.jsp"
direct="true"></put>
</definition>
<definition extends="defaultReport" name="posPO">
<put name="title" value="poDetail" ></put>
<put name="report" value="/ccAuth15_poDetail_fragment.jsp"
direct="true"></put>
</definition>
</tiles-definitions>
template00
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<html>
<head>
<title><tiles:getAsString name="title" ignore="true"/></title>
</head>
<body bgcolor="#ffffff">
<table>
<tr>
<td><tiles:insert attribute="banner" flush="true"/></td>
</tr>
<tr>
<td><tiles:insert attribute="report" flush="true"/></td>
</tr>
<tr>
<td><tiles:insert attribute="applet" flush="true"/></td>
</tr>
</table>
</body>
</html>
template01
<%@ page errorPage="ccAuth15_template01_error.jsp" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
<%@ page import = "java.util.*, java.text.NumberFormat " %>
<html>
<head>
<title>
${sessionScope.fb00.frameTitle}
</title>
</head>
<body bgcolor="#ffffff">
<c:url value="/imageservelet" var="dynaAd">
<c:param name="proxyName" value="${sessionScope.forServelet}"/>
<c:param name="imageSource" value="${fb00.imageSource}"/>
<c:param name="subscriberID" value="${fb00.subscriberID}"/>
<c:param name="subscriberStoreNum" value="${fb00.subscriberStoreNum}"/>
</c:url>
<table>
<tr>
<td><img src="${dynaAd}" alt="Subscriber store specific image banner"
/></td>
</tr>
<tr>
<!--td><html:button property="btn00" value="Print"
onclick="postPrint()">Print2</html:button></td>
<td><html:button property="btn01" value="Display
All">DisplayAll2</html:button> </td-->
</tr>
</table>
<table>
<tr>
<td><jsp:include flush="true"
page="${sessionScope.fb00.framesetPage}"></jsp:include></td>
</tr>
<tr>
<td><jsp:include flush="true"
page="/ccAuth13_applet_fragment.jsp"></jsp:include></td>
</tr>
</table>
</body>
</html>