You can use 
<jsp:include page="local_URL " flush="true"/>
page is file which contains the JSP logic
flush sends the current page output before included file

c:import to include local and remote rewrite tasks
c:url for URL rewrite URL
http://java.sun.com/developer/technicalArticles/javaserverpages/faster/index.html
----- Original Message ----- 
From: "Jim Douglas" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Saturday, December 24, 2005 10:18 AM
Subject: Re: tabs is struts


> This is an excelet solution, thank you!
> 
> Do you know how can I modify the line "<c:out value="Bar is cooler!" />", so 
> that it servers up a JSP via STRUTS?
> 
> <tab:tabContainer id="foo-bar-container">
>   <tab:tabPane id="foo" tabTitle="Foo!">
> Foo is cool!
> </tab:tabPane>
> <tab:tabPane id="bar" tabTitle="Bar!">
> <c:out value="Bar is cooler!" />
> </tab:tabPane>
> </tab:tabContainer>
> 
> 
> 
> Jim
> 
> 
> 
>>From: su mo <[EMAIL PROTECTED]>
>>Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
>>To: Struts Users Mailing List <user@struts.apache.org>
>>Subject: Re: tabs is struts
>>Date: Tue, 13 Dec 2005 09:41:51 +0530
>>
>>Checkout this.  Very good one
>>
>>ditchnet.org/taglibs/
>>
>>
>>On 12/13/05, Yujun Liang <[EMAIL PROTECTED]> wrote:
>> >
>> > Tiles is needed for option 1, but I am not sure if it is still needed if
>> > using Struts-Layout.
>> >
>> > On 12/13/05, Jim Douglas <[EMAIL PROTECTED]> wrote:
>> > >
>> > > Can this be done easily with Tiles?
>> > >
>> > >
>> > > >From: Yujun Liang <[EMAIL PROTECTED]>
>> > > >Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
>> > > >To: Struts Users Mailing List <user@struts.apache.org>
>> > > >Subject: Re: tabs is struts
>> > > >Date: Fri, 9 Dec 2005 09:02:42 +1100
>> > > >
>> > > >On web page, there are two kinds of tabs,
>> > > >1. Tab-looking pages with the different style for active tab, there 
>>is
>> > > >nothing special for this kind of tab, you can just treat them as the
>> > POHA
>> > > >(Plain Old HTML Application), well you need design the styles. Please
>> > > check
>> > > >CSS-2 document. Page refresh will be observed for tab switch.
>> > > >2. DHTML Tabs, this is dynamic and you won't see page refresh, it is
>> > > really
>> > > >like the POWA(Plain Old Windows Application), to achieve this, you 
>>may
>> > > need
>> > > >hidden frames for data transmission or you can use AJAX.
>> > > >
>> > > >If you client can afford to use JavaScript, the option 2 is 
>>definitely
>> > a
>> > > >preferred choice, it gives the user real time experience.
>> > > >If the application has to be W3C Accessibility complaint, you have no
>> > > >choice
>> > > >to use option 1. So the tab is just a different look and feel, not
>> > really
>> > > >different from other kind of page. From one example of Struts Recipe 
>>by
>> > > >George Franciscus, I can tell the Tabs generated by Struts Layout Tag
>> > are
>> > > >JavaScript driven so it is not W3C Accessibility complaint.
>> > > >
>> > > >Regards
>> > > >
>> > > >On 12/8/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote:
>> > > > >
>> > > > > Try struts layout tags.
>> > > > > They support tabbed inputs.
>> > > > >
>> > > > >
>> > > > >
>> > > > > On 12/8/05, Sony Thomas <[EMAIL PROTECTED]> wrote:
>> > > > > >
>> > > > > > Hi,
>> > > > > >
>> > > > > > Is there is any way to use tabs in struts. Is there is any html
>> > bean
>> > > >tag
>> > > > > > for this ?
>> > > > > >
>> > >
>> > 
>> >------------------------------------------------------------------------
>> > > > > >
>> > > > > >
>> > > ---------------------------------------------------------------------
>> > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
>> > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > >--
>> > > >Yujun Liang
>> > > >[EMAIL PROTECTED]
>> > >
>> > >
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > > For additional commands, e-mail: [EMAIL PROTECTED]
>> > >
>> > >
>> >
>> >
>> > --
>> > Yujun Liang
>> > [EMAIL PROTECTED]
>> >
>> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to