use the .equals("todo") operator on the string comparison
-----Original Message-----
From: Ganael LAPLANCHE [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 5 September 2002 11:49 PM
To: [EMAIL PROTECTED]
Subject: "if" not working

Hi all,
 
I'm trying to test the value of a hidden parameter sent via an html form...
Here is the test :
 
<xsp:logic>
  if(<xsp-request:get-parameter name="todo"/>=="search")
  {
    <xsp:content>That's ok !</xsp:content>
  }
<xsp:logic>
 
The test never returns true... What's wrong ???
 
Thank you,
Gan.


===========================================================================

This email may be confidential and/or privileged. Only the intended recipient may access or use it.

We use virus scanning software but exclude all liability for viruses or similar in any attachment.

Copyright in this email and any document created by Pitt & Sherry Consulting Engineers will

remain vested in Pitt & Sherry Consulting Engineers and will not transfer to you.

If you have received this email by mistake, please telephone (613) 6323 1900 (reverse charges),

or forward message to [EMAIL PROTECTED]

===========================================================================



Reply via email to