RE: Reg. JSTL expression.

2005-04-21 Thread Ashutosh Satyam
Try this instead

 c:if test=${param.MODE == 'Primary'}
  //
  //
 /c:if

 Hope this helps.

Regards,
Ashutosh

 

-Original Message-
From: Iyanu, Rajasekaran [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 21, 2005 2:59 PM
To: Struts Users Mailing List
Subject: Reg. JSTL expression.


Hi,

 I'm using the following JSTL expression in my JSP page,

  c:if test='${ param.MODE == Primary}'
  //
  //
  /c:if

 The value for the attribute MODE is assigned in my Action class and is
available in the request.

 But the JSTL  expression always returns false even if the MODE is set
as Primary. 

 Can anyone please help me in this regard.

 Thanks and Regards
 Rajasekaran Iyanu








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Reg. JSTL expression.

2005-04-21 Thread Karr, David
What do you get when you add the following right before the c:if
(including the square brackets):

 [c:out value=${param.MODE}/]

 -Original Message-
 From: Iyanu, Rajasekaran [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, April 21, 2005 2:29 AM
 To: Struts Users Mailing List
 Subject: Reg. JSTL expression.
 
 
 Hi,
 
  I'm using the following JSTL expression in my JSP page,
 
   c:if test='${ param.MODE == Primary}'
 //
 //
   /c:if
 
  The value for the attribute MODE is assigned in my Action 
 class and is available in the request.
 
  But the JSTL  expression always returns false even if the 
 MODE is set as Primary. 
 
  Can anyone please help me in this regard.
 
  Thanks and Regards
  Rajasekaran Iyanu
 
 
 
 
 
 
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]