Hi
If you want the parameters and values to be dynamic, then use <jsp:forward/>
tag with combination of <jsp:param/>
This way you can pass any number of parameters with dynamic values from
within your JSP page.
Use <logic:equal/> to compare the request parameters.
Try it out.
Vinit

----- Original Message -----
From: "Jan Van Stalle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 05, 2003 12:59 AM
Subject: Re: logic:equal Tag


> Manglu,
>
> it must be something like
>
> <logic:equal value="ttt" name="id" scope="request" />
>
> where id should be the name which you pass to request.getAttribute("id")
>
> Jan
>
> "manglu" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hi,
> >
> > I noticed that a lot of tags support only the request parameters and
> > bean attributes.
> >
> > If i want to check for certain values from the attributes (say
> > request.getAttribute()== "Test" or the equivalent in Session) what tags
> > should i be looking for.
> >
> > THis is what i want to achieve.
> >
> > I need to pass certain parameters to my JSP
> >
> > and the view is rendered by the JSP based on these paramters.
> >
> > Currently in my struts-config
> >
> > <forward result=/WEB-INF/jsp/result.jsp?parm1="value1"&parm2="value2" >
> > is how i do it.
> >
> > Now these values are hardcoded.
> >
> > If my values are dynamic and determined by my action how do i get this
> > to work?
> >
> > I presume this would be a common requirement. How do the folks get these
> > stuff to work.
> >
> > TIA,
> > Manglu
>
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to