Struts does this with it's logic custom tag libraries.
May have to change the data representation in order
to use the logic tags though.
check out the docs:
http://jakarta.apache.org/struts/struts-logic.html
- Sandeep
--- "Marc L. de Bruin" <marc@debruin.org> wrote:
> Sandeep Takhar wrote:
>
> >If you really need to add the code, than custom
> tags
> >are a better way to go
> >
> >Here is one way I have seen it done using Struts
> (note
> >the forward is to a pre-defined alias of a jsp page
> so
> >the path of the jsp is hidden):
> >
> ><%@ page language="java" %>
> ><%@ taglib uri="/tags/struts-logic" prefix="logic"
> %>
> ><logic:forward name="welcome"/>
> >
> This seems to be an unconditional forward. I'm the
> need of a conditional
> one. :-)
>
> Any true Struts/MVC options?
>
> Tnx,
>
> Marc.
>
>
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
|