I was told that JSTL can convert most of the Java code
in JSP.  I still have some problem with initializing
variables and if statments; for example, I do not know
how to write in JSTL of the following:

1. int i = 0;
2. i++;
3. String prevArticle = null;
4. if ( numberOfPosts - 1 == 1 ) {}
5. if ( nextTopic != 0 )
6. String threadID = String.valueOf( threadID_int );
7. if ( threadRows.size() == 0 ) {}
8. if ( previousOffset >= 0 || nextOffset >= 0 ) {}
9. if ( prevArticle != null ) && ( !article.equals(
prevArticle ) ) {}

if anybody could kindly show me the JSTL equivalents?




                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

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

Reply via email to