Actually, No, but I think you asked the wrong question.  What you meant is
does Java allow Nested if statements, which is a definite yes.  Remember,
everything between the <% and %> tags is just straight Java code.  Very
little gets done to that code except sticking it between out.print()
statements with the static content of your site.  So yes, you can use nested
Java if statements in a JSP file.
    (*Chris*)

----- Original Message -----
From: "Morad, Suzanne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 27, 2002 11:01 AM
Subject: [JSP-INTEREST] Nested if statements in JSP...


> This is a very basic question... Does JSP allow nested if statements?
>
> I'm trying to do something like below:
> if (x>y) {
>         if (c>a) {
>         }
> }
>
> Thanks!
>
>
> **************
> The information in this e-mail, and any attachment therein, is
confidential
> and for use by the addressee only. If you are not the intended recipient,
> please return the e-mail to the sender and delete it from your computer.
> Although the Bank of New York attempts to sweep e-mail and attachments for
> viruses, it does not guarantee that either are virus-free and accepts no
> liability for any damage sustained as a result of viruses.
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to