Hi,
It should be
if (("+infor+"==0) && ("+sales+"==!null))
{
}
Cheers
(A.Mohamed Anez)
>From: "Seema Patel" <spatel@e...>
>Reply-To: "Pro_JavaServer_Pages" <pro_jsp@p...>
>To: "Pro_JavaServer_Pages" <pro_jsp@p...>
>Subject: [pro_jsp] if statements - need help asap!
>Date: Tue, 14 Jan 2003 11:56:24
>
>Hi,
>
>i have this IF statement which im trying to write but it does not work.i
>know im doing something wrong, but wot??
>
>this IF statement is suppose to be written as part of a method in the java
>class. The infor is a radio box and sales is taking the id all from the
>same html form in a jsp page. basically wot im trying to do is if infor is
>selected which is set to zero and if the sales has an id in it then i want
>the rest of the method to happen. wot am i doing wrong??
>
>
>
>if ("+infor+"==0) && ("+sales+"==!null));
>{
>
>}
>
>seema
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus