Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 82074 invoked from network); 30 Aug 2007 16:59:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Aug 2007 16:59:24 -0000 Received: (qmail 64003 invoked by uid 500); 30 Aug 2007 16:59:10 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 63978 invoked by uid 500); 30 Aug 2007 16:59:10 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 63966 invoked by uid 99); 30 Aug 2007 16:59:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 09:59:10 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.196.97.72] (HELO web56713.mail.re3.yahoo.com) (66.196.97.72) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Aug 2007 17:00:03 +0000 Received: (qmail 94622 invoked by uid 60001); 30 Aug 2007 16:58:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=yBbukMUebCK+uY0/9Mu/7MvCLGmyyRG+/ikixE5oG8DwypTLqlqgBGpKStwvwKsYAMJD5AZFUe5cQS0veQvk92MbxhpzheDAFHtdf8N90DF3mjVBe3sAXJWVTvgAgMcCj9Zv+Sofzk3o5zWKRS3btVAy6nwRlNpTM/ZUy31aTXw=; X-YMail-OSG: JTMmxX0VM1lRKDFXnx1fNxOp4rnPrXL1cRgn5Ye69S4osVEeL_bu9Rw_dtxmBRmfQA-- Received: from [63.166.14.2] by web56713.mail.re3.yahoo.com via HTTP; Thu, 30 Aug 2007 09:58:41 PDT Date: Thu, 30 Aug 2007 09:58:41 -0700 (PDT) From: Dave Newton Subject: Re: jsp including another jsp To: Struts Users Mailing List In-Reply-To: <12411297.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <705107.94194.qm@web56713.mail.re3.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org All you're doing is including a JSP via a standard JSP directive; no action is being executed. You might want to look at the tag [1]. d. [1] http://struts.apache.org/2.x/docs/action.html --- nmall wrote: > > header is simply a jsp page called header.jsp. There > are tabs in the header > page and that is being displayed correctly. This is > our header page ( i have > attached header1.jsp) > > <%@ taglib prefix="s" uri="/struts-tags" %> > > > > http://www.nabble.com/file/p12411297/header1.jsp > header1.jsp > Header Page > <%@ include file="header1.jsp" %> > > >

> > > > class="com.siteacuity.webapp.action.CurrentDetailsAction"> > name="success">/WEB-INF/pages/header.jsp > > We have included this header.jsp in other pages ( > where we need to display a > few fields got from CurrentDetailsAction. > > <%@ taglib prefix="s" uri="/struts-tags" %> > > > > Current Details > > <%@ include file="header.jsp" %> > > > > Thanks a lot. We need this basic header to work for > all of our pages. > > > > > newton.dave wrote: > > > > --- nmall wrote: > >> We are using Struts 2.0.6. We have a header.jsp > >> which is included in each of our jsp pages. > >> The header is tied to an action class to retrieve > a > >> name etc to display (which changes depending on > the > >> login). > > > > How is it "tied to an action class"? How are you > > including it? Is there any HTML from the header > file > > at all, or is it missing entirely? > > > > d. > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > user-unsubscribe@struts.apache.org > > For additional commands, e-mail: > user-help@struts.apache.org > > > > > > > > -- > View this message in context: > http://www.nabble.com/jsp-including-another-jsp-tf4355201.html#a12411297 > Sent from the Struts - User mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@struts.apache.org > For additional commands, e-mail: > user-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org