Hi thanks,
so essentially there's no replacement of jsp:include
in struts, right?


--- Karsten Krieg <[EMAIL PROTECTED]> wrote:

> 
> Hi!
> 
> Nothing special here. Let's say you've an struts
> action like this:
> 
>         <action
>             name="variableForm"
>             path="/editVariable"
>             scope="request"
>            
>
type="de.intarsys.efselect.web.action.page.EditVariableAction"
>                   input="/variable.jsp"
>             validate="true">
>                   <forward name="next"
> path="/prepMatchFields.do" />
>                   <forward name="self"
> path="/prepShowValue.do" />
>         </action>
> 
> The referenced variable.jsp itself has a java
> scriptlet like this:
> <%
>       String typePage = "/variable/detail_" +
> container.getType() + ".jsp";
> %>
> 
> In my html-table of individual contents I just :
> 
>                         <div style="width:100%;
> height:100%;
> overflow:auto;">
>                               <jsp:include page="<%=
> typePage %>"/>
>                         </div>
> 
> So, Struts is not really involved.
> 
> Regards
> Karsten Krieg
> intarsys consulting GmbH
> ----------------------------------------
> Fon +49 (0)721 3 84 79 - 28
> Fax +49 (0)721 3 84 79 - 60
> e-mail [EMAIL PROTECTED]
> http://www.intarsys.de
> ----------------------------------------
> "Iran! That's where the weapons of mass destruction
> were! It was a typo all
> along!"
> 
> wo shi ni baba <[EMAIL PROTECTED]> schrieb
> am 15.02.2005 09:31:19:
> 
> > hi, thanks, but would you tell me how to do it in
> > struts?
> >
> > --- Karsten Krieg <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > Hi!
> > >
> > > Why not just use jsp:include. There's nothing
> wrong
> > > with it. You can even
> > > use a request attribute for setting the jsp
> page.
> > >
> > > <jsp:include page="<%= includePage %>"/>
> > >
> > > Regards
> > > Karsten Krieg
> > > intarsys consulting GmbH
> > > ----------------------------------------
> > > Fon +49 (0)721 3 84 79 - 28
> > > Fax +49 (0)721 3 84 79 - 60
> > > e-mail [EMAIL PROTECTED]
> > > http://www.intarsys.de
> > > ----------------------------------------
> > > "Iran! That's where the weapons of mass
> destruction
> > > were! It was a typo all
> > > along!"
> > >
> > > wo shi ni baba <[EMAIL PROTECTED]>
> schrieb
> > > am 15.02.2005 03:54:38:
> > >
> > > > Hi folks,
> > > > I am new to struts, I am trying to get the
> > > equivalent
> > > > of jsp:include in struts.  I tried
> > > > <bean:include  id="top"  page="/Top.jsp" />
> > > > this itself does not actually print the
> content.
> > > what
> > > > else do I need to do to get Top.jsp onto the
> > > screen?
> > > > thanks in advance
> > > >
> > > >
> > > >
> > > >
> > > > __________________________________
> > > > Do you Yahoo!?
> > > > The all-new My Yahoo! - What will yours do?
> > > > http://my.yahoo.com
> > > >
> > > >
> > >
> >
>
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > >
> > >
> > >
> > >
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > All your favorites on one personal page ? Try My
> Yahoo!
> > http://my.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to