Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 55544 invoked from network); 17 Nov 2003 23:40:11 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Nov 2003 23:40:11 -0000 Received: (qmail 90028 invoked by uid 500); 17 Nov 2003 23:39:40 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 90000 invoked by uid 500); 17 Nov 2003 23:39:40 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 89987 invoked from network); 17 Nov 2003 23:39:40 -0000 Received: from unknown (HELO web60207.mail.yahoo.com) (216.109.118.102) by daedalus.apache.org with SMTP; 17 Nov 2003 23:39:40 -0000 Message-ID: <20031117233946.2626.qmail@web60207.mail.yahoo.com> Received: from [139.72.1.30] by web60207.mail.yahoo.com via HTTP; Mon, 17 Nov 2003 15:39:46 PST Date: Mon, 17 Nov 2003 15:39:46 -0800 (PST) From: Hubert Rabago Subject: Re: Including multiple servlets from a jsp page. To: Struts Users Mailing List In-Reply-To: <2329.63.162.160.98.1069110787.squirrel@webmail.stinkytoe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Tiles is one way to do it. Take a look at the Tiles Controller. http://jakarta.apache.org/struts/api/org/apache/struts/tiles/Controller.html Check out http://www.theserverside.com/resources/article.jsp?l=Tiles101 for some explanation on it. --- Chris Blackburn wrote: > I am trying to build a web page that will have multiple dynamic content > fed from multiple servlets. I thought I could just do something like: > > <-- index.jsp --> > > > > > > > <-- end --> > What I would like to happen is have the struts servlet be run, and have > the resulting jsp page (defined in the section of my > struts-config.xml) be "imported" into that spot. This works just fine if > there is only one servlet being called, but fails if there are more. The > error is "Cannot forward after result has been committed". > > What do I need to do? Do I need to look at something like tiles? Any help, > or references to some help would be great. > > Thanks, > > Chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: struts-user-help@jakarta.apache.org > __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org