struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Riley" <kri...@allconnect.com>
Subject Problem with templates & WL6.1SP3
Date Wed, 16 Oct 2002 21:51:31 GMT
Hello all,

I am having an issue with v1.0.2 templates and Weblogic 6.1 SP3. The specific problem is
that the web container does not output any more information after processing the first
template:get to a struts action.  This worked well before we 'upgraded' to SP3.

The following code (under sp3) will output everything up to the end of the output of
/showHeader.do. If I change the template:get's around so that any of the other struts
actions are executed first, I still get the same behavior.

I've searched BEA's notes for sp3 and come across the following which might explain the behavior:

Chng RQ Description
------- -----------
066500 	Forwared JSP pages will now terminate the execution of the current page.
 
Since I'm surely not the only person to be using templates with WL6.1sp3 I was hoping that

someone else has encountered and resolved the problem.  I am also talking with BEA but
don't expect any quick solutions on that end. Thanks in advance for any insight or assistance.


Jsp1=============================================================,
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>

<template:insert template="/jsp/template/template_service_center.jsp">

	<template:put name="title" content="A Somewhat Interesting Page Title" direct="true"/>
	<template:put name="header" content="/showHeader.do"/>
	<template:put name="ad" content="/showAd.do"/>
	<template:put name="serviceTypeList" content="/showServiceTypeList.do"/>
      <template:put name="content" content="/showOrderStatus.do"/>

</template:insert>
end jsp1=============================================================

template_service_center.jsp==========================================,
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>

<html:html>

<head><title><template:get name="title"/></title>
</head>
<body>
<table align="left" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td>Header<template:get name="header"/>/Header</td></tr>
<tr><td>Ad<template:get name="ad"/>/Ad</td></tr>
<tr><td>
   <table border="0" cellspacing="0" cellpadding="0" width="100%">
   <tr>
   <td>ServiceTypeList<template:get name="serviceTypeList"/>/serviceTypeList</td>
   <td>Content<template:get name="content"/>/Content</td>
   </tr></table></td>
</tr>
<tr><td><jsp:include page="../common/footer.jsp"/></td></tr>
</table>
</body>
</html:html>
end template_service_center.jsp===========================================

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message