struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jared Blitzstein <>
Subject Re: Checking the request attribute by using the Struts tags in the next jsp page..
Date Sat, 02 Sep 2006 14:18:52 GMT
You can do it with either struts or JSTL depending on which you want  
to use. I prefer JSTL and this is how I'd do it

   <c:when test="${po == 'open'}">
      This is open
      This is closed

with struts you could use logic:equal and logic:notEqual (http:// 
summary.html#package_description). Search for "logic:equal" on that  

On Sep 2, 2006, at 7:30 AM, SrinivasaReddy wrote:

> Hi..,
> I am setting the po values in links as
> http://<utl>:8080/ApplicationName/
> http://<utl>:8080/ApplicationName/
> in the display page, if po=open i should display some test,  
> otherwise po=close i should display someother text.
> i should check this po value by using struts tags (ie by using  
> logic tags).... not request.getAttributer()...etc
> Regards
> Srinivasa Reddy

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message