struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srishankar Ramaswamy" <Srishankar_Ramasw...@infosys.com>
Subject "Doubt in logic:equal"
Date Fri, 12 Jul 2002 04:42:09 GMT
How do we compare two variables using logic:equal without using scriplet.

Bean1 {
  String x;
}

Bean2 {
   String y;
}

 The logic required is :
   
   if(b1.x == b2.y)
     display message1.
  else
     display message2.
  end if.,

where b1, b2 are objects of type Bean1, Bean2 respectively.

regards,
Srishankar.

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message