If you're new to this stuff then jstl might be preferable

<c:choose>
        <c:when test="${email.type == 'html'}">
                Stop sending HTML Emails they suck
        </c:when>
        
        <c:when test="${email.type == 'rtf'}">
                What the f**k is wrong with plain text then?
        </c:when>

        <c:otherwise>
                Your email is neither rtf or html so i assume its plain text
        </c:otherwise>
</c:choose>


On 11 Feb 2004, at 15:10, Gandhi, Snehal Kishore (Cognizant) wrote:


<logic:present ...>
& <logic:notPresent>
 
<logic:equal> & <logic:notEqual> can be used for conditional statements.
 
--Snehal
 


-- Snehal K. Gandhi         | Email : [EMAIL PROTECTED]
Financial Services Group | http://www.cognizant.com ;
Cognizant Corporation    | Ph:91-44-52096000
Mobile : +91 98400 57326 | Xtn:8118, Vnet:48128
 -- The secret to enjoying your job is not to change your job but to change your attitude..
-----Original Message-----
From: Dixit, Shashank (Cognizant)
Sent: Wednesday, February 11, 2004 7:26 PM
To: [EMAIL PROTECTED]
Subject: Struts Decision making




Hello All

Can anybody tell me how to make decision making in struts (IF-THEN-ELSE).

I couldn’t find proper tags in LOGIC.

Thanks in adv.

Shashank S. Dixit
Cognizant Technology Solutions Pvt. Ltd.
Hinjewadi,
Pune
Mobile : 98904 25400

An Obstacle is something you see when you take your eyes off the goal.

<InterScan_Disclaimer.txt>--------------------------------------------- ------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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



Reply via email to